Update
data class Update(update_id: Long, message: Message?, edited_message: Message?, channel_post: Message?, edited_channel_post: Message?, inline_query: InlineQuery?, chosen_inline_result: ChosenInlineResult?, callback_query: CallbackQuery?, shipping_query: ShippingQuery?, pre_checkout_query: PreCheckoutQuery?, poll: Poll?, poll_answer: PollAnswer?, my_chat_member: ChatMemberUpdated?, chat_member: ChatMemberUpdated?) : TelegramModel
Content copied to clipboard
This object represents an incoming update.
At most one of the optional parameters can be present in any given update.
Constructors
Update
Link copied to clipboard
fun Update(update_id: Long, message: Message? = null, edited_message: Message? = null, channel_post: Message? = null, edited_channel_post: Message? = null, inline_query: InlineQuery? = null, chosen_inline_result: ChosenInlineResult? = null, callback_query: CallbackQuery? = null, shipping_query: ShippingQuery? = null, pre_checkout_query: PreCheckoutQuery? = null, poll: Poll? = null, poll_answer: PollAnswer? = null, my_chat_member: ChatMemberUpdated? = null, chat_member: ChatMemberUpdated? = null)
Content copied to clipboard
Creates a Update.
Properties
callback_query
Link copied to clipboard
channel_post
Link copied to clipboard
chat_member
Link copied to clipboard
chosen_inline_result
Link copied to clipboard
edited_channel_post
Link copied to clipboard
edited_message
Link copied to clipboard
inline_query
Link copied to clipboard
my_chat_member
Link copied to clipboard
poll_answer
Link copied to clipboard
pre_checkout_query
Link copied to clipboard
shipping_query
Link copied to clipboard