TelegramBot::Message
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
animation
Sourceanimation=(animation : Animation | Nil)
Sourceaudio
Sourceaudio=(audio : Audio | Nil)
Sourceauthor_signature
Sourcebusiness_connection_id
Sourcecaption
Sourcecaption_entities
Sourcechannel_chat_created?
Sourcechat
Sourcechat=(chat : Chat)
Sourcecontact
Sourcecontact=(contact : Contact | Nil)
Sourcedate
Sourcedelete_chat_photo?
Sourcedice
Sourcedice=(dice : Dice | Nil)
Sourcedirect_messages_topic
Sourcedocument
Sourcedocument=(document : Document | Nil)
Sourceedit_date
Sourceeffect_id
Sourceentities
Sourceexternal_reply
Sourceexternal_reply=(external_reply : ExternalReplyInfo | Nil)
Sourceforum_topic_closed
Sourceforum_topic_closed=(forum_topic_closed : ForumTopicClosed | Nil)
Sourceforum_topic_created
Sourceforum_topic_created=(forum_topic_created : ForumTopicCreated | Nil)
Sourceforum_topic_edited
Sourceforum_topic_edited=(forum_topic_edited : ForumTopicEdited | Nil)
Sourceforum_topic_reopened
Sourceforum_topic_reopened=(forum_topic_reopened : ForumTopicReopened | Nil)
Sourceforward_date
Sourceforward_from
Sourceforward_from=(forward_from : User | Nil)
Sourceforward_from_chat
Sourceforward_from_chat=(forward_from_chat : Chat | Nil)
Sourceforward_from_message_id
Sourceforward_origin
Sourceforward_origin=(forward_origin : MessageOrigin | Nil)
Sourceforward_sender_name
Sourceforward_signature
Sourcefrom
Sourcefrom=(from : User | Nil)
Sourcegame
Sourcegame=(game : Game | Nil)
Sourcegift
Sourcegift=(gift : GiftInfo | Nil)
Sourcegift_upgrade_sent
Sourcegift_upgrade_sent=(gift_upgrade_sent : GiftInfo | Nil)
Sourcegroup_chat_created?
Sourceguest_bot_caller_chat
Sourceguest_bot_caller_chat=(guest_bot_caller_chat : Chat | Nil)
Sourceguest_bot_caller_user
Sourceguest_bot_caller_user=(guest_bot_caller_user : User | Nil)
Sourceguest_query_id
Sourcehas_media_spoiler?
Sourcehas_protected_content?
Sourceinvoice
Sourceinvoice=(invoice : Invoice | Nil)
Sourceis_automatic_forward?
Sourceis_from_offline?
Sourceis_paid_post?
Sourceis_topic_message?
Sourceleft_chat_member
Sourceleft_chat_member=(left_chat_member : User | Nil)
Sourcelink_preview_options
Sourcelink_preview_options=(link_preview_options : LinkPreviewOptions | Nil)
Sourcelive_photo
Sourcelive_photo=(live_photo : LivePhoto | Nil)
Sourcelocation
Sourcelocation=(location : Location | Nil)
Sourcemanaged_bot_created
Sourcemanaged_bot_created=(managed_bot_created : ManagedBotCreated | Nil)
Sourcemedia_group_id
Sourcemessage_id
Sourcemessage_thread_id
Sourcemigrate_from_chat_id
Sourcemigrate_to_chat_id
Sourcenew_chat_members
Sourcenew_chat_photo
Sourcenew_chat_title
Sourcepaid_media
Sourcepaid_media=(paid_media : PaidMediaInfo | Nil)
Sourcepaid_star_count
Sourcephoto
Sourcepinned_message
Sourcepinned_message=(pinned_message : Message | Nil)
Sourcepoll
Sourcepoll=(poll : Poll | Nil)
Sourcepoll_option_added
Sourcepoll_option_added=(poll_option_added : PollOptionAdded | Nil)
Sourcepoll_option_deleted
Sourcepoll_option_deleted=(poll_option_deleted : PollOptionDeleted | Nil)
Sourcequote
Sourcequote=(quote : TextQuote | Nil)
Sourcerefunded_payment
Sourcerefunded_payment=(refunded_payment : RefundedPayment | Nil)
Sourcereply_markup
Sourcereply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Sourcereply_to_checklist_task_id
Sourcereply_to_message
Sourcereply_to_message=(reply_to_message : Message | Nil)
Sourcereply_to_poll_option_id
Sourcereply_to_story
Sourcereply_to_story=(reply_to_story : Story | Nil)
Sourcesender_boost_count
Sourcesender_business_bot
Sourcesender_business_bot=(sender_business_bot : User | Nil)
Sourcesender_chat
Sourcesender_chat=(sender_chat : Chat | Nil)
Sourceshow_caption_above_media?
Sourcesticker
Sourcesticker=(sticker : Sticker | Nil)
Sourcesuccessful_payment
Sourcesuccessful_payment=(successful_payment : SuccessfulPayment | Nil)
Sourcesupergroup_chat_created?
Sourcetext
Sourceunique_gift
Sourceunique_gift=(unique_gift : UniqueGiftInfo | Nil)
Sourcevenue
Sourcevenue=(venue : Venue | Nil)
Sourcevia_bot
Sourcevia_bot=(via_bot : User | Nil)
Sourcevideo
Sourcevideo=(video : Video | Nil)
Sourcevideo_note
Sourcevideo_note=(video_note : VideoNote | Nil)
Sourcevoice
Sourcevoice=(voice : Voice | Nil)
Sourceweb_app_data
Sourceweb_app_data=(web_app_data : WebAppData | Nil)
Source