class TelegramBot::Models::Message
- TelegramBot::Models::Message
- TelegramBot::Models::Base
- Reference
- Object
Overview
https://core.telegram.org/bots/api#message
TODO Implement missing keys
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#message TODO Implement missing keys
Instance Method Summary
-
#animation : Animation | Nil
property audio : Audio? property document : Document?
-
#animation=(animation : Animation | Nil)
property audio : Audio? property document : Document?
- #author_signature : String | Nil
- #author_signature=(author_signature : String | Nil)
-
#caption : String | Nil
property voice : Voice? property video_note : VideoNote?
-
#caption=(caption : String | Nil)
property voice : Voice? property video_note : VideoNote?
- #caption_entities : Array(MessageEntity) | Nil
- #caption_entities=(caption_entities : Array(MessageEntity) | Nil)
- #channel_chat_created : Bool | Nil
- #channel_chat_created=(channel_chat_created : Bool | Nil)
- #chat : Chat
- #chat=(chat : Chat)
- #connected_website : String | Nil
- #connected_website=(connected_website : String | Nil)
- #contact : Contact | Nil
- #contact=(contact : Contact | Nil)
- #date : Int32
- #date=(date : Int32)
- #delete_chat_photo : Bool | Nil
- #delete_chat_photo=(delete_chat_photo : Bool | Nil)
- #edit_date : Int32 | Nil
- #edit_date=(edit_date : Int32 | Nil)
- #entities : Array(MessageEntity) | Nil
- #entities=(entities : Array(MessageEntity) | Nil)
- #forward_date : Int32 | Nil
- #forward_date=(forward_date : Int32 | Nil)
- #forward_from : User | Nil
- #forward_from=(forward_from : User | Nil)
- #forward_from_chat : Chat | Nil
- #forward_from_chat=(forward_from_chat : Chat | Nil)
- #forward_from_message_id : Int32 | Nil
- #forward_from_message_id=(forward_from_message_id : Int32 | Nil)
- #forward_sender_name : String | Nil
- #forward_sender_name=(forward_sender_name : String | Nil)
- #forward_signature : String | Nil
- #forward_signature=(forward_signature : String | Nil)
- #from : User | Nil
- #from=(from : User | Nil)
- #group_chat_created : Bool | Nil
- #group_chat_created=(group_chat_created : Bool | Nil)
- #invoice : Invoice | Nil
- #invoice=(invoice : Invoice | Nil)
- #left_chat_member : User | Nil
- #left_chat_member=(left_chat_member : User | Nil)
- #location : Location | Nil
- #location=(location : Location | Nil)
- #media_group_id : String | Nil
- #media_group_id=(media_group_id : String | Nil)
- #message_id : Int32
- #message_id=(message_id : Int32)
- #migrate_from_chat_id : Int64 | Nil
- #migrate_from_chat_id=(migrate_from_chat_id : Int64 | Nil)
- #migrate_to_chat_id : Int64 | Nil
- #migrate_to_chat_id=(migrate_to_chat_id : Int64 | Nil)
- #new_chat_members : Array(User) | Nil
- #new_chat_members=(new_chat_members : Array(User) | Nil)
- #new_chat_photo : Array(PhotoSize) | Nil
- #new_chat_photo=(new_chat_photo : Array(PhotoSize) | Nil)
- #new_chat_title : String | Nil
- #new_chat_title=(new_chat_title : String | Nil)
-
#photo : Array(PhotoSize) | Nil
property game : Game?
-
#photo=(photo : Array(PhotoSize) | Nil)
property game : Game?
- #pinned_message : Message | Nil
- #pinned_message=(pinned_message : Message | Nil)
- #poll : Poll | Nil
- #poll=(poll : Poll | Nil)
-
#reply_markup : InlineKeyboardMarkup | Nil
property passport_data : PassportData?
-
#reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
property passport_data : PassportData?
- #reply_to_message : Message | Nil
- #reply_to_message=(reply_to_message : Message | Nil)
- #successful_payment : SuccessfulPayment | Nil
- #successful_payment=(successful_payment : SuccessfulPayment | Nil)
- #supergroup_chat_created : Bool | Nil
- #supergroup_chat_created=(supergroup_chat_created : Bool | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
- #venue : Venue | Nil
- #venue=(venue : Venue | Nil)
-
#video : Video | Nil
property sticker : Sticker?
-
#video=(video : Video | Nil)
property sticker : Sticker?
Constructor methods inherited from class TelegramBot::Models::Base
new(pull : JSON::PullParser)
new
Constructor Detail
https://core.telegram.org/bots/api#message
TODO Implement missing keys
Instance Method Detail
property audio : Audio? property document : Document?
property audio : Audio? property document : Document?
property passport_data : PassportData?