class Telecr::Types::Update

Overview

Update object (root of all incoming data)

Defined in:

api/types.cr

Instance Method Summary

Instance methods inherited from class Telecr::Types::BaseType

inspect(io : IO) : Nil inspect, raw : Hash(String, JSON::Any) raw, to_h : Hash(String, JSON::Any) to_h, to_s(io : IO) : Nil to_s

Constructor methods inherited from class Telecr::Types::BaseType

new(raw : Hash(String, JSON::Any)) new

Instance Method Detail

def callback_query : CallbackQuery | Nil #

[View source]
def callback_query? : Bool #

[View source]
def channel_post : Message | Nil #

[View source]
def channel_post? : Bool #

[View source]
def chat_join_request : ChatJoinRequest | Nil #

[View source]
def chat_join_request? : Bool #

[View source]
def chat_member : ChatMemberUpdated | Nil #

[View source]
def chat_member? : Bool #

[View source]
def chosen_inline_result : ChosenInlineResult | Nil #

[View source]
def chosen_inline_result? : Bool #

[View source]
def edited_channel_post : Message | Nil #

[View source]
def edited_channel_post? : Bool #

[View source]
def edited_message : Message | Nil #

[View source]
def edited_message? : Bool #

[View source]
def from : User | Nil #

[View source]
def inline_query : InlineQuery | Nil #

[View source]
def inline_query? : Bool #

[View source]
def message : Message | Nil #

[View source]
def message? : Bool #

[View source]
def my_chat_member : ChatMemberUpdated | Nil #

[View source]
def my_chat_member? : Bool #

[View source]
def poll : Poll | Nil #

[View source]
def poll? : Bool #

[View source]
def poll_answer : PollAnswer | Nil #

[View source]
def poll_answer? : Bool #

[View source]
def pre_checkout_query : PreCheckoutQuery | Nil #

[View source]
def pre_checkout_query? : Bool #

[View source]
def shipping_query : ShippingQuery | Nil #

[View source]
def shipping_query? : Bool #

[View source]
def update_id : Int64 | Nil #

[View source]
def update_type : Symbol #

[View source]