class
Telecr::Types::Message
- Telecr::Types::Message
- Telecr::Types::BaseType
- Reference
- Object
Defined in:
api/types.crConstructors
Instance Method Summary
-
#audio : JSON::Any | Nil
Media fields
-
#audio=(audio : JSON::Any | Nil)
Media fields
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #caption_entities : Array(MessageEntity) | Nil
- #caption_entities=(caption_entities : Array(MessageEntity) | Nil)
- #chat : Chat
- #chat=(chat : Chat)
- #command? : Bool
- #command_args : String | Nil
- #command_name : String | Nil
- #date : Int64
- #date=(date : Int64)
- #document : JSON::Any | Nil
- #document=(document : JSON::Any | Nil)
- #entities : Array(MessageEntity) | Nil
- #entities=(entities : Array(MessageEntity) | Nil)
- #from : User | Nil
- #from=(from : User | Nil)
- #has_media? : Bool
-
#is_topic_message : Bool | Nil
API 9.5/9.6 Additions
-
#is_topic_message=(is_topic_message : Bool | Nil)
API 9.5/9.6 Additions
- #managed_bot_created : ManagedBotCreated | Nil
- #managed_bot_created=(managed_bot_created : ManagedBotCreated | Nil)
- #message_id : Int64
- #message_id=(message_id : Int64)
- #message_thread_id : Int32 | Nil
- #message_thread_id=(message_thread_id : Int32 | Nil)
- #photo : Array(JSON::Any) | Nil
- #photo=(photo : Array(JSON::Any) | Nil)
- #reply? : Bool
- #reply_to_message : Message | Nil
- #reply_to_message=(reply_to_message : Message | Nil)
- #sender_chat : Chat | Nil
- #sender_chat=(sender_chat : Chat | Nil)
- #sticker : JSON::Any | Nil
- #sticker=(sticker : JSON::Any | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
- #time : Time
- #via_bot : User | Nil
- #via_bot=(via_bot : User | Nil)
- #video : JSON::Any | Nil
- #video=(video : JSON::Any | Nil)
- #video_note : JSON::Any | Nil
- #video_note=(video_note : JSON::Any | Nil)
- #voice : JSON::Any | Nil
- #voice=(voice : JSON::Any | Nil)