Class: Vk::API::Messages::Chat

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/messages/chat.rb

Overview

Instance Method Summary collapse

Instance Method Details

#admin_idInteger

Returns Chat creator ID.

Returns:

  • (Integer)

    Chat creator ID


15
# File 'lib/vk/api/messages/chat.rb', line 15

attribute :admin_id, API::Types::Coercible::Int

#idInteger

Returns Chat ID.

Returns:

  • (Integer)

    Chat ID


11
# File 'lib/vk/api/messages/chat.rb', line 11

attribute :id, API::Types::Coercible::Int

#photo_100String

Returns URL of the preview image with 100 px in width.

Returns:

  • (String)

    URL of the preview image with 100 px in width


23
# File 'lib/vk/api/messages/chat.rb', line 23

attribute :photo_100, API::Types::Coercible::String.optional.default(nil)

#photo_200String

Returns URL of the preview image with 200 px in width.

Returns:

  • (String)

    URL of the preview image with 200 px in width


25
# File 'lib/vk/api/messages/chat.rb', line 25

attribute :photo_200, API::Types::Coercible::String.optional.default(nil)

#photo_50String

Returns URL of the preview image with 50 px in width.

Returns:

  • (String)

    URL of the preview image with 50 px in width


21
# File 'lib/vk/api/messages/chat.rb', line 21

attribute :photo_50, API::Types::Coercible::String.optional.default(nil)

#push_settingsAPI::Messages::ChatPushSettings


19
# File 'lib/vk/api/messages/chat.rb', line 19

attribute :push_settings, Dry::Types[API::Messages::ChatPushSettings].optional.default(nil)

#typeString

Returns Chat type.

Returns:

  • (String)

    Chat type


13
# File 'lib/vk/api/messages/chat.rb', line 13

attribute :type, API::Types::Coercible::String

#usersArray


17
# File 'lib/vk/api/messages/chat.rb', line 17

attribute :users, API::Types::Coercible::Array.member(API::Types::Coercible::Int)