class

TelegramBot::Message

Inherits JSON::Serializable < Reference < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

animation
Source
animation=(animation : Animation | Nil)
Source
audio
Source
audio=(audio : Audio | Nil)
Source
author_signature
Source
author_signature=(author_signature : String | Nil)
Source
business_connection_id
Source
business_connection_id=(business_connection_id : String | Nil)
Source
caption
Source
caption=(caption : String | Nil)
Source
caption_entities
Source
caption_entities=(caption_entities : Array(MessageEntity) | Nil)
Source
channel_chat_created=(channel_chat_created : Bool | Nil)
Source
channel_chat_created?
Source
chat
Source
chat=(chat : Chat)
Source
contact
Source
contact=(contact : Contact | Nil)
Source
date
Source
date=(date : Int32)
Source
delete_chat_photo=(delete_chat_photo : Bool | Nil)
Source
delete_chat_photo?
Source
dice
Source
dice=(dice : Dice | Nil)
Source
direct_messages_topic
Source
direct_messages_topic=(direct_messages_topic : JSON::Any | Nil)
Source
document
Source
document=(document : Document | Nil)
Source
edit_date
Source
edit_date=(edit_date : Int32 | Nil)
Source
effect_id
Source
effect_id=(effect_id : String | Nil)
Source
entities
Source
entities=(entities : Array(MessageEntity) | Nil)
Source
external_reply
Source
external_reply=(external_reply : ExternalReplyInfo | Nil)
Source
forum_topic_closed
Source
forum_topic_closed=(forum_topic_closed : ForumTopicClosed | Nil)
Source
forum_topic_created
Source
forum_topic_created=(forum_topic_created : ForumTopicCreated | Nil)
Source
forum_topic_edited
Source
forum_topic_edited=(forum_topic_edited : ForumTopicEdited | Nil)
Source
forum_topic_reopened
Source
forum_topic_reopened=(forum_topic_reopened : ForumTopicReopened | Nil)
Source
forward_date
Source
forward_date=(forward_date : Int32 | Nil)
Source
forward_from
Source
forward_from=(forward_from : User | Nil)
Source
forward_from_chat
Source
forward_from_chat=(forward_from_chat : Chat | Nil)
Source
forward_from_message_id
Source
forward_from_message_id=(forward_from_message_id : Int32 | Nil)
Source
forward_origin
Source
forward_origin=(forward_origin : MessageOrigin | Nil)
Source
forward_sender_name
Source
forward_sender_name=(forward_sender_name : String | Nil)
Source
forward_signature
Source
forward_signature=(forward_signature : String | Nil)
Source
from
Source
from=(from : User | Nil)
Source
game
Source
game=(game : Game | Nil)
Source
general_forum_topic_hidden
Source
general_forum_topic_hidden=(general_forum_topic_hidden : GeneralForumTopicHidden | Nil)
Source
general_forum_topic_unhidden
Source
general_forum_topic_unhidden=(general_forum_topic_unhidden : GeneralForumTopicUnhidden | Nil)
Source
gift
Source
gift=(gift : GiftInfo | Nil)
Source
gift_upgrade_sent
Source
gift_upgrade_sent=(gift_upgrade_sent : GiftInfo | Nil)
Source
group_chat_created=(group_chat_created : Bool | Nil)
Source
group_chat_created?
Source
guest_bot_caller_chat
Source
guest_bot_caller_chat=(guest_bot_caller_chat : Chat | Nil)
Source
guest_bot_caller_user
Source
guest_bot_caller_user=(guest_bot_caller_user : User | Nil)
Source
guest_query_id
Source
guest_query_id=(guest_query_id : String | Nil)
Source
has_media_spoiler=(has_media_spoiler : Bool | Nil)
Source
has_media_spoiler?
Source
has_protected_content=(has_protected_content : Bool | Nil)
Source
has_protected_content?
Source
invoice
Source
invoice=(invoice : Invoice | Nil)
Source
is_automatic_forward=(is_automatic_forward : Bool | Nil)
Source
is_automatic_forward?
Source
is_from_offline=(is_from_offline : Bool | Nil)
Source
is_from_offline?
Source
is_paid_post=(is_paid_post : Bool | Nil)
Source
is_paid_post?
Source
is_topic_message=(is_topic_message : Bool | Nil)
Source
is_topic_message?
Source
left_chat_member
Source
left_chat_member=(left_chat_member : User | Nil)
Source
live_photo
Source
live_photo=(live_photo : LivePhoto | Nil)
Source
location
Source
location=(location : Location | Nil)
Source
managed_bot_created
Source
managed_bot_created=(managed_bot_created : ManagedBotCreated | Nil)
Source
media_group_id
Source
media_group_id=(media_group_id : String | Nil)
Source
message_id
Source
message_id=(message_id : Int32)
Source
message_thread_id
Source
message_thread_id=(message_thread_id : Int32 | Nil)
Source
migrate_from_chat_id
Source
migrate_from_chat_id=(migrate_from_chat_id : Int32 | Nil)
Source
migrate_to_chat_id
Source
migrate_to_chat_id=(migrate_to_chat_id : Int32 | Nil)
Source
new_chat_members
Source
new_chat_members=(new_chat_members : Array(User) | Nil)
Source
new_chat_photo
Source
new_chat_photo=(new_chat_photo : Array(PhotoSize) | Nil)
Source
new_chat_title
Source
new_chat_title=(new_chat_title : String | Nil)
Source
photo
Source
photo=(photo : Array(PhotoSize) | Nil)
Source
pinned_message
Source
pinned_message=(pinned_message : Message | Nil)
Source
poll
Source
poll=(poll : Poll | Nil)
Source
poll_option_added
Source
poll_option_added=(poll_option_added : PollOptionAdded | Nil)
Source
poll_option_deleted
Source
poll_option_deleted=(poll_option_deleted : PollOptionDeleted | Nil)
Source
quote
Source
quote=(quote : TextQuote | Nil)
Source
refunded_payment
Source
refunded_payment=(refunded_payment : RefundedPayment | Nil)
Source
reply_markup
Source
reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
Source
reply_to_checklist_task_id
Source
reply_to_checklist_task_id=(reply_to_checklist_task_id : Int32 | Nil)
Source
reply_to_message
Source
reply_to_message=(reply_to_message : Message | Nil)
Source
reply_to_poll_option_id
Source
reply_to_poll_option_id=(reply_to_poll_option_id : String | Nil)
Source
reply_to_story
Source
reply_to_story=(reply_to_story : Story | Nil)
Source
sender_boost_count
Source
sender_boost_count=(sender_boost_count : Int32 | Nil)
Source
sender_business_bot
Source
sender_business_bot=(sender_business_bot : User | Nil)
Source
sender_chat
Source
sender_chat=(sender_chat : Chat | Nil)
Source
show_caption_above_media=(show_caption_above_media : Bool | Nil)
Source
show_caption_above_media?
Source
sticker
Source
sticker=(sticker : Sticker | Nil)
Source
successful_payment
Source
successful_payment=(successful_payment : SuccessfulPayment | Nil)
Source
supergroup_chat_created=(supergroup_chat_created : Bool | Nil)
Source
supergroup_chat_created?
Source
text
Source
text=(text : String | Nil)
Source
unique_gift
Source
unique_gift=(unique_gift : UniqueGiftInfo | Nil)
Source
venue
Source
venue=(venue : Venue | Nil)
Source
via_bot
Source
via_bot=(via_bot : User | Nil)
Source
video
Source
video=(video : Video | Nil)
Source
video_note
Source
video_note=(video_note : VideoNote | Nil)
Source
voice
Source
voice=(voice : Voice | Nil)
Source
web_app_data
Source
web_app_data=(web_app_data : WebAppData | Nil)
Source