Class: TD::Types::InlineQueryResult::VoiceNote
- Inherits:
-
TD::Types::InlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InlineQueryResult
- TD::Types::InlineQueryResult::VoiceNote
- Defined in:
- lib/tdlib/types/inline_query_result/voice_note.rb
Overview
Represents a voice note.
Instance Attribute Summary collapse
-
#id ⇒ TD::Types::String
Unique identifier of the query result.
-
#title ⇒ TD::Types::String
Title of the voice note.
-
#voice_note ⇒ TD::Types::VoiceNote
Voice note.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ TD::Types::String
Unique identifier of the query result.
7 8 9 |
# File 'lib/tdlib/types/inline_query_result/voice_note.rb', line 7 def id @id end |
#title ⇒ TD::Types::String
Title of the voice note.
7 8 9 |
# File 'lib/tdlib/types/inline_query_result/voice_note.rb', line 7 def title @title end |
#voice_note ⇒ TD::Types::VoiceNote
Voice note.
7 8 9 |
# File 'lib/tdlib/types/inline_query_result/voice_note.rb', line 7 def voice_note @voice_note end |