Class: Vk::API::Messages::Chat
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Messages::Chat
- Defined in:
- lib/vk/api/messages/chat.rb
Overview
Instance Method Summary collapse
-
#admin_id ⇒ Integer
Chat creator ID.
-
#id ⇒ Integer
Chat ID.
-
#photo_100 ⇒ String
URL of the preview image with 100 px in width.
-
#photo_200 ⇒ String
URL of the preview image with 200 px in width.
-
#photo_50 ⇒ String
URL of the preview image with 50 px in width.
- #push_settings ⇒ API::Messages::ChatPushSettings
-
#type ⇒ String
Chat type.
- #users ⇒ Array
Instance Method Details
#admin_id ⇒ Integer
Returns 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.
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.
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.
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.
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.
13 |
# File 'lib/vk/api/messages/chat.rb', line 13 attribute :type, API::Types::Coercible::String |