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_id ⇒ Integer

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

#id ⇒ Integer

Returns Chat ID.

Returns:

  • (Integer) —

    Chat ID



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

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

#photo_100 ⇒ String

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_200 ⇒ String

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_50 ⇒ String

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_settings ⇒ API::Messages::ChatPushSettings



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

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

#type ⇒ String

Returns Chat type.

Returns:

  • (String) —

    Chat type



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

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

#users ⇒ Array



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

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