Class: Vk::API::Messages::AttachmentsHistory
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Messages::AttachmentsHistory
- Defined in:
- lib/vk/api/messages/attachments_history.rb
Overview
Instance Method Summary collapse
- #audio ⇒ API::Audio::AudioFull
- #doc ⇒ API::Docs::Doc
- #link ⇒ API::Messages::MessageLink
- #photo ⇒ API::Photos::Photo
-
#type ⇒ String
Attachments type.
- #video ⇒ API::Video::Video
Instance Method Details
#audio ⇒ API::Audio::AudioFull
17 |
# File 'lib/vk/api/messages/attachments_history.rb', line 17 attribute :audio, Dry::Types[API::Audio::AudioFull].optional.default(nil) |
#doc ⇒ API::Docs::Doc
19 |
# File 'lib/vk/api/messages/attachments_history.rb', line 19 attribute :doc, Dry::Types[API::Docs::Doc].optional.default(nil) |
#link ⇒ API::Messages::MessageLink
21 |
# File 'lib/vk/api/messages/attachments_history.rb', line 21 attribute :link, Dry::Types[API::Messages::MessageLink].optional.default(nil) |
#photo ⇒ API::Photos::Photo
13 |
# File 'lib/vk/api/messages/attachments_history.rb', line 13 attribute :photo, Dry::Types[API::Photos::Photo].optional.default(nil) |
#type ⇒ String
Returns Attachments type.
11 |
# File 'lib/vk/api/messages/attachments_history.rb', line 11 attribute :type, API::Types::Coercible::String.enum("photo", "video", "audio", "doc", "link") |
#video ⇒ API::Video::Video
15 |
# File 'lib/vk/api/messages/attachments_history.rb', line 15 attribute :video, Dry::Types[API::Video::Video].optional.default(nil) |