class TelegramBot::Update

Included Modules

Defined in:

telegram_bot/types/update.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 business_connection : TelegramBot::BusinessConnection | Nil #

def business_connection=(business_connection : TelegramBot::BusinessConnection | Nil) #

def business_message : TelegramBot::Message | Nil #

def business_message=(business_message : TelegramBot::Message | Nil) #

def callback_query : TelegramBot::CallbackQuery | Nil #

def callback_query=(callback_query : TelegramBot::CallbackQuery | Nil) #

def channel_post : TelegramBot::Message | Nil #

def channel_post=(channel_post : TelegramBot::Message | Nil) #

def chat_boost : TelegramBot::ChatBoostUpdated | Nil #

def chat_boost=(chat_boost : TelegramBot::ChatBoostUpdated | Nil) #

def chat_join_request : TelegramBot::ChatJoinRequest | Nil #

def chat_join_request=(chat_join_request : TelegramBot::ChatJoinRequest | Nil) #

def chat_member : TelegramBot::ChatMemberUpdated | Nil #

def chat_member=(chat_member : TelegramBot::ChatMemberUpdated | Nil) #

def chosen_inline_result : TelegramBot::ChosenInlineResult | Nil #

def chosen_inline_result=(chosen_inline_result : TelegramBot::ChosenInlineResult | Nil) #

def deleted_business_messages : TelegramBot::BusinessMessagesDeleted | Nil #

def deleted_business_messages=(deleted_business_messages : TelegramBot::BusinessMessagesDeleted | Nil) #

def edited_business_message : TelegramBot::Message | Nil #

def edited_business_message=(edited_business_message : TelegramBot::Message | Nil) #

def edited_channel_post : TelegramBot::Message | Nil #

def edited_channel_post=(edited_channel_post : TelegramBot::Message | Nil) #

def edited_message : TelegramBot::Message | Nil #

def edited_message=(edited_message : TelegramBot::Message | Nil) #

def guest_message : TelegramBot::Message | Nil #

def guest_message=(guest_message : TelegramBot::Message | Nil) #

def inline_query : TelegramBot::InlineQuery | Nil #

def inline_query=(inline_query : TelegramBot::InlineQuery | Nil) #

def managed_bot : TelegramBot::ManagedBotUpdated | Nil #

def managed_bot=(managed_bot : TelegramBot::ManagedBotUpdated | Nil) #

def message : TelegramBot::Message | Nil #

def message=(message : TelegramBot::Message | Nil) #

def message_reaction : TelegramBot::MessageReactionUpdated | Nil #

def message_reaction=(message_reaction : TelegramBot::MessageReactionUpdated | Nil) #

def message_reaction_count : TelegramBot::MessageReactionCountUpdated | Nil #

def message_reaction_count=(message_reaction_count : TelegramBot::MessageReactionCountUpdated | Nil) #

def my_chat_member : TelegramBot::ChatMemberUpdated | Nil #

def my_chat_member=(my_chat_member : TelegramBot::ChatMemberUpdated | Nil) #

def poll : TelegramBot::Poll | Nil #

def poll=(poll : TelegramBot::Poll | Nil) #

def poll_answer : TelegramBot::PollAnswer | Nil #

def poll_answer=(poll_answer : TelegramBot::PollAnswer | Nil) #

def pre_checkout_query : TelegramBot::PreCheckoutQuery | Nil #

def pre_checkout_query=(pre_checkout_query : TelegramBot::PreCheckoutQuery | Nil) #

def purchased_paid_media : TelegramBot::PaidMediaPurchased | Nil #

def purchased_paid_media=(purchased_paid_media : TelegramBot::PaidMediaPurchased | Nil) #

def removed_chat_boost : TelegramBot::ChatBoostRemoved | Nil #

def removed_chat_boost=(removed_chat_boost : TelegramBot::ChatBoostRemoved | Nil) #

def shipping_query : TelegramBot::ShippingQuery | Nil #

def shipping_query=(shipping_query : TelegramBot::ShippingQuery | Nil) #

def update_id : Int32 #

def update_id=(update_id : Int32) #