class TelegramBot::Models::Update

Overview

https://core.telegram.org/bots/api#update

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

https://core.telegram.org/bots/api#update


[View source]

Instance Method Detail

def callback_query : CallbackQuery | Nil #

[View source]
def callback_query=(callback_query : CallbackQuery | Nil) #

[View source]
def channel_post : Message | Nil #

[View source]
def channel_post=(channel_post : Message | Nil) #

[View source]
def chosen_inline_result : ChosenInlineResult | Nil #

[View source]
def chosen_inline_result=(chosen_inline_result : ChosenInlineResult | Nil) #

[View source]
def edited_channel_post : Message | Nil #

[View source]
def edited_channel_post=(edited_channel_post : Message | Nil) #

[View source]
def edited_message : Message | Nil #

[View source]
def edited_message=(edited_message : Message | Nil) #

[View source]
def inline_query : InlineQuery | Nil #

[View source]
def inline_query=(inline_query : InlineQuery | Nil) #

[View source]
def message : Message | Nil #

[View source]
def message=(message : Message | Nil) #

[View source]
def poll : Poll | Nil #

[View source]
def poll=(poll : Poll | Nil) #

[View source]
def pre_checkout_query : PreCheckoutQuery | Nil #

[View source]
def pre_checkout_query=(pre_checkout_query : PreCheckoutQuery | Nil) #

[View source]
def shipping_query : ShippingQuery | Nil #

[View source]
def shipping_query=(shipping_query : ShippingQuery | Nil) #

[View source]
def update_id : Int32 #

[View source]
def update_id=(update_id : Int32) #

[View source]