class Telecr::Types::Update

Overview

Root Update Object

Defined in:

api/types.cr

Constructors

Instance Method Summary

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

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

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

new(pull : JSON::PullParser) new

Constructor Detail

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

Root Update Object


[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 chat_join_request : JSON::Any | Nil #

[View source]
def chat_join_request=(chat_join_request : JSON::Any | Nil) #

[View source]
def chat_member : JSON::Any | Nil #

[View source]
def chat_member=(chat_member : JSON::Any | Nil) #

[View source]
def chosen_inline_result : JSON::Any | Nil #

[View source]
def chosen_inline_result=(chosen_inline_result : JSON::Any | 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 from : User | Nil #

[View source]
def inline_query : JSON::Any | Nil #

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

[View source]
def managed_bot : ManagedBotUpdated | Nil #

API 9.6 addition


[View source]
def managed_bot=(managed_bot : ManagedBotUpdated | Nil) #

API 9.6 addition


[View source]
def message : Message | Nil #

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

[View source]
def my_chat_member : JSON::Any | Nil #

[View source]
def my_chat_member=(my_chat_member : JSON::Any | Nil) #

[View source]
def poll : Poll | Nil #

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

[View source]
def poll_answer : JSON::Any | Nil #

[View source]
def poll_answer=(poll_answer : JSON::Any | Nil) #

[View source]
def pre_checkout_query : JSON::Any | Nil #

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

[View source]
def shipping_query : JSON::Any | Nil #

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

[View source]
def update_id : Int64 #

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

[View source]
def update_type : Symbol #

[View source]