class TelegramBot::Message

Included Modules

Defined in:

telegram_bot/types/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def animation : Animation | Nil #

def animation=(animation : Animation | Nil) #

def audio : Audio | Nil #

def audio=(audio : Audio | Nil) #

def author_signature : String | Nil #

def author_signature=(author_signature : String | Nil) #

def boost_added : ChatBoostAdded | Nil #

def boost_added=(boost_added : ChatBoostAdded | Nil) #

def business_connection_id : String | Nil #

def business_connection_id=(business_connection_id : String | Nil) #

def caption : String | Nil #

def caption=(caption : String | Nil) #

def caption_entities : Array(MessageEntity) | Nil #

def caption_entities=(caption_entities : Array(MessageEntity) | Nil) #

def channel_chat_created=(channel_chat_created : Bool | Nil) #

def channel_chat_created? : Bool | Nil #

def chat : Chat #

def chat=(chat : Chat) #

def chat_background_set : ChatBackground | Nil #

def chat_background_set=(chat_background_set : ChatBackground | Nil) #

def chat_owner_changed : ChatOwnerChanged | Nil #

def chat_owner_changed=(chat_owner_changed : ChatOwnerChanged | Nil) #

def chat_owner_left : ChatOwnerLeft | Nil #

def chat_owner_left=(chat_owner_left : ChatOwnerLeft | Nil) #

def chat_shared : ChatShared | Nil #

def chat_shared=(chat_shared : ChatShared | Nil) #

def checklist : Checklist | Nil #

def checklist=(checklist : Checklist | Nil) #

def checklist_tasks_added : ChecklistTasksAdded | Nil #

def checklist_tasks_added=(checklist_tasks_added : ChecklistTasksAdded | Nil) #

def checklist_tasks_done : ChecklistTasksDone | Nil #

def checklist_tasks_done=(checklist_tasks_done : ChecklistTasksDone | Nil) #

def connected_website : String | Nil #

def connected_website=(connected_website : String | Nil) #

def contact : Contact | Nil #

def contact=(contact : Contact | Nil) #

def date : Int32 #

def date=(date : Int32) #

def delete_chat_photo=(delete_chat_photo : Bool | Nil) #

def delete_chat_photo? : Bool | Nil #

def dice : Dice | Nil #

def dice=(dice : Dice | Nil) #

def direct_message_price_changed : DirectMessagePriceChanged | Nil #

def direct_message_price_changed=(direct_message_price_changed : DirectMessagePriceChanged | Nil) #

def direct_messages_topic : DirectMessagesTopic | Nil #

def direct_messages_topic=(direct_messages_topic : DirectMessagesTopic | Nil) #

def document : Document | Nil #

def document=(document : Document | Nil) #

def edit_date : Int32 | Nil #

def edit_date=(edit_date : Int32 | Nil) #

def effect_id : String | Nil #

def effect_id=(effect_id : String | Nil) #

def entities : Array(MessageEntity) | Nil #

def entities=(entities : Array(MessageEntity) | Nil) #

def external_reply : ExternalReplyInfo | Nil #

def external_reply=(external_reply : ExternalReplyInfo | Nil) #

def forum_topic_closed : ForumTopicClosed | Nil #

def forum_topic_closed=(forum_topic_closed : ForumTopicClosed | Nil) #

def forum_topic_created : ForumTopicCreated | Nil #

def forum_topic_created=(forum_topic_created : ForumTopicCreated | Nil) #

def forum_topic_edited : ForumTopicEdited | Nil #

def forum_topic_edited=(forum_topic_edited : ForumTopicEdited | Nil) #

def forum_topic_reopened : ForumTopicReopened | Nil #

def forum_topic_reopened=(forum_topic_reopened : ForumTopicReopened | Nil) #

def forward_origin : MessageOrigin | Nil #

def forward_origin=(forward_origin : MessageOrigin | Nil) #

def from : User | Nil #

def from=(from : User | Nil) #

def game : Game | Nil #

def game=(game : Game | Nil) #

def general_forum_topic_hidden : GeneralForumTopicHidden | Nil #

def general_forum_topic_hidden=(general_forum_topic_hidden : GeneralForumTopicHidden | Nil) #

def general_forum_topic_unhidden : GeneralForumTopicUnhidden | Nil #

def general_forum_topic_unhidden=(general_forum_topic_unhidden : GeneralForumTopicUnhidden | Nil) #

def gift : GiftInfo | Nil #

def gift=(gift : GiftInfo | Nil) #

def gift_upgrade_sent : GiftInfo | Nil #

def gift_upgrade_sent=(gift_upgrade_sent : GiftInfo | Nil) #

def giveaway : Giveaway | Nil #

def giveaway=(giveaway : Giveaway | Nil) #

def giveaway_completed : GiveawayCompleted | Nil #

def giveaway_completed=(giveaway_completed : GiveawayCompleted | Nil) #

def giveaway_created : GiveawayCreated | Nil #

def giveaway_created=(giveaway_created : GiveawayCreated | Nil) #

def giveaway_winners : GiveawayWinners | Nil #

def giveaway_winners=(giveaway_winners : GiveawayWinners | Nil) #

def group_chat_created=(group_chat_created : Bool | Nil) #

def group_chat_created? : Bool | Nil #

def guest_bot_caller_chat : Chat | Nil #

def guest_bot_caller_chat=(guest_bot_caller_chat : Chat | Nil) #

def guest_bot_caller_user : User | Nil #

def guest_bot_caller_user=(guest_bot_caller_user : User | Nil) #

def guest_query_id : String | Nil #

def guest_query_id=(guest_query_id : String | Nil) #

def has_media_spoiler=(has_media_spoiler : Bool | Nil) #

def has_media_spoiler? : Bool | Nil #

def has_protected_content=(has_protected_content : Bool | Nil) #

def has_protected_content? : Bool | Nil #

def invoice : Invoice | Nil #

def invoice=(invoice : Invoice | Nil) #

def is_automatic_forward=(is_automatic_forward : Bool | Nil) #

def is_automatic_forward? : Bool | Nil #

def is_from_offline=(is_from_offline : Bool | Nil) #

def is_from_offline? : Bool | Nil #

def is_paid_post=(is_paid_post : Bool | Nil) #

def is_paid_post? : Bool | Nil #

def is_topic_message=(is_topic_message : Bool | Nil) #

def is_topic_message? : Bool | Nil #

def left_chat_member : User | Nil #

def left_chat_member=(left_chat_member : User | Nil) #

def link_preview_options : LinkPreviewOptions | Nil #

def link_preview_options=(link_preview_options : LinkPreviewOptions | Nil) #

def live_photo : LivePhoto | Nil #

def live_photo=(live_photo : LivePhoto | Nil) #

def location : Location | Nil #

def location=(location : Location | Nil) #

def managed_bot_created : ManagedBotCreated | Nil #

def managed_bot_created=(managed_bot_created : ManagedBotCreated | Nil) #

def media_group_id : String | Nil #

def media_group_id=(media_group_id : String | Nil) #

def message_auto_delete_timer_changed : MessageAutoDeleteTimerChanged | Nil #

def message_auto_delete_timer_changed=(message_auto_delete_timer_changed : MessageAutoDeleteTimerChanged | Nil) #

def message_id : Int32 #

def message_id=(message_id : Int32) #

def message_thread_id : Int32 | Nil #

def message_thread_id=(message_thread_id : Int32 | Nil) #

def migrate_from_chat_id : Int64 | Nil #

def migrate_from_chat_id=(migrate_from_chat_id : Int64 | Nil) #

def migrate_to_chat_id : Int64 | Nil #

def migrate_to_chat_id=(migrate_to_chat_id : Int64 | Nil) #

def new_chat_members : Array(User) | Nil #

def new_chat_members=(new_chat_members : Array(User) | Nil) #

def new_chat_photo : Array(PhotoSize) | Nil #

def new_chat_photo=(new_chat_photo : Array(PhotoSize) | Nil) #

def new_chat_title : String | Nil #

def new_chat_title=(new_chat_title : String | Nil) #

def passport_data : PassportData | Nil #

def passport_data=(passport_data : PassportData | Nil) #

def photo : Array(PhotoSize) | Nil #

def photo=(photo : Array(PhotoSize) | Nil) #

def pinned_message : MaybeInaccessibleMessage | Nil #

def pinned_message=(pinned_message : MaybeInaccessibleMessage | Nil) #

def poll : Poll | Nil #

def poll=(poll : Poll | Nil) #

def poll_option_added : PollOptionAdded | Nil #

def poll_option_added=(poll_option_added : PollOptionAdded | Nil) #

def poll_option_deleted : PollOptionDeleted | Nil #

def poll_option_deleted=(poll_option_deleted : PollOptionDeleted | Nil) #

def proximity_alert_triggered : ProximityAlertTriggered | Nil #

def proximity_alert_triggered=(proximity_alert_triggered : ProximityAlertTriggered | Nil) #

def quote : TextQuote | Nil #

def quote=(quote : TextQuote | Nil) #

def refunded_payment : RefundedPayment | Nil #

def refunded_payment=(refunded_payment : RefundedPayment | Nil) #

def reply_markup : InlineKeyboardMarkup | Nil #

def reply_markup=(reply_markup : InlineKeyboardMarkup | Nil) #

def reply_to_checklist_task_id : Int32 | Nil #

def reply_to_checklist_task_id=(reply_to_checklist_task_id : Int32 | Nil) #

def reply_to_message : Message | Nil #

def reply_to_message=(reply_to_message : Message | Nil) #

def reply_to_poll_option_id : String | Nil #

def reply_to_poll_option_id=(reply_to_poll_option_id : String | Nil) #

def reply_to_story : Story | Nil #

def reply_to_story=(reply_to_story : Story | Nil) #

def sender_boost_count : Int32 | Nil #

def sender_boost_count=(sender_boost_count : Int32 | Nil) #

def sender_business_bot : User | Nil #

def sender_business_bot=(sender_business_bot : User | Nil) #

def sender_chat : Chat | Nil #

def sender_chat=(sender_chat : Chat | Nil) #

def sender_tag : String | Nil #

def sender_tag=(sender_tag : String | Nil) #

def show_caption_above_media=(show_caption_above_media : Bool | Nil) #

def show_caption_above_media? : Bool | Nil #

def sticker : Sticker | Nil #

def sticker=(sticker : Sticker | Nil) #

def story : Story | Nil #

def story=(story : Story | Nil) #

def successful_payment : SuccessfulPayment | Nil #

def successful_payment=(successful_payment : SuccessfulPayment | Nil) #

def suggested_post_approval_failed : SuggestedPostApprovalFailed | Nil #

def suggested_post_approval_failed=(suggested_post_approval_failed : SuggestedPostApprovalFailed | Nil) #

def suggested_post_approved : SuggestedPostApproved | Nil #

def suggested_post_approved=(suggested_post_approved : SuggestedPostApproved | Nil) #

def suggested_post_declined : SuggestedPostDeclined | Nil #

def suggested_post_declined=(suggested_post_declined : SuggestedPostDeclined | Nil) #

def suggested_post_info : SuggestedPostInfo | Nil #

def suggested_post_info=(suggested_post_info : SuggestedPostInfo | Nil) #

def suggested_post_paid : SuggestedPostPaid | Nil #

def suggested_post_paid=(suggested_post_paid : SuggestedPostPaid | Nil) #

def suggested_post_refunded : SuggestedPostRefunded | Nil #

def suggested_post_refunded=(suggested_post_refunded : SuggestedPostRefunded | Nil) #

def supergroup_chat_created=(supergroup_chat_created : Bool | Nil) #

def supergroup_chat_created? : Bool | Nil #

def text : String | Nil #

def text=(text : String | Nil) #

def unique_gift : UniqueGiftInfo | Nil #

def unique_gift=(unique_gift : UniqueGiftInfo | Nil) #

def users_shared : UsersShared | Nil #

def users_shared=(users_shared : UsersShared | Nil) #

def venue : Venue | Nil #

def venue=(venue : Venue | Nil) #

def via_bot : User | Nil #

def via_bot=(via_bot : User | Nil) #

def video : Video | Nil #

def video=(video : Video | Nil) #

def video_chat_ended : VideoChatEnded | Nil #

def video_chat_ended=(video_chat_ended : VideoChatEnded | Nil) #

def video_chat_participants_invited : VideoChatParticipantsInvited | Nil #

def video_chat_participants_invited=(video_chat_participants_invited : VideoChatParticipantsInvited | Nil) #

def video_chat_scheduled : VideoChatScheduled | Nil #

def video_chat_scheduled=(video_chat_scheduled : VideoChatScheduled | Nil) #

def video_chat_started : VideoChatStarted | Nil #

def video_chat_started=(video_chat_started : VideoChatStarted | Nil) #

def video_note : VideoNote | Nil #

def video_note=(video_note : VideoNote | Nil) #

def voice : Voice | Nil #

def voice=(voice : Voice | Nil) #

def web_app_data : WebAppData | Nil #

def web_app_data=(web_app_data : WebAppData | Nil) #

def write_access_allowed : WriteAccessAllowed | Nil #

def write_access_allowed=(write_access_allowed : WriteAccessAllowed | Nil) #