UpdateShortcuts
Hand-authored shortcut helpers for `Update`.
Loaded by HandAuthoredShortcutsIntegrator (Phase 2 codegen stage 8)
and stitched into the regenerated Update class via a
use UpdateShortcuts; directive.
Mirrors aiogram's Update.event_type accessor — the dispatcher uses
it to route a single update to the right handler chain without
walking every optional slot manually.
The match arms below mirror the schema's optional-field declaration order so the first non-null field's wire name wins. In a real Telegram payload exactly one of these fields is populated, so the ordering is purely defensive against tests / synthetic payloads.
Table of Contents
Properties
- $businessConnection : null|BusinessConnection
- $businessMessage : null|Message
- $callbackQuery : null|CallbackQuery
- $channelPost : null|Message
- $chatBoost : null|ChatBoostUpdated
- $chatJoinRequest : null|ChatJoinRequest
- $chatMember : null|ChatMemberUpdated
- $chosenInlineResult : null|ChosenInlineResult
- $deletedBusinessMessages : null|BusinessMessagesDeleted
- $editedBusinessMessage : null|Message
- $editedChannelPost : null|Message
- $editedMessage : null|Message
- $guestMessage : null|Message
- $inlineQuery : null|InlineQuery
- $managedBot : null|ManagedBotUpdated
- $message : null|Message
- $messageReaction : null|MessageReactionUpdated
- $messageReactionCount : null|MessageReactionCountUpdated
- $myChatMember : null|ChatMemberUpdated
- $poll : null|Poll
- $pollAnswer : null|PollAnswer
- $preCheckoutQuery : null|PreCheckoutQuery
- $purchasedPaidMedia : null|PaidMediaPurchased
- $removedChatBoost : null|ChatBoostRemoved
- $shippingQuery : null|ShippingQuery
Methods
- eventType() : string|null
Properties
$businessConnection
public
null|BusinessConnection
$businessConnection
promoted property on the using class
$businessMessage
public
null|Message
$businessMessage
promoted property on the using class
$callbackQuery
public
null|CallbackQuery
$callbackQuery
promoted property on the using class
$channelPost
public
null|Message
$channelPost
promoted property on the using class
$chatBoost
public
null|ChatBoostUpdated
$chatBoost
promoted property on the using class
$chatJoinRequest
public
null|ChatJoinRequest
$chatJoinRequest
promoted property on the using class
$chatMember
public
null|ChatMemberUpdated
$chatMember
promoted property on the using class
$chosenInlineResult
public
null|ChosenInlineResult
$chosenInlineResult
promoted property on the using class
$deletedBusinessMessages
public
null|BusinessMessagesDeleted
$deletedBusinessMessages
promoted property on the using class
$editedBusinessMessage
public
null|Message
$editedBusinessMessage
promoted property on the using class
$editedChannelPost
public
null|Message
$editedChannelPost
promoted property on the using class
$editedMessage
public
null|Message
$editedMessage
promoted property on the using class
$guestMessage
public
null|Message
$guestMessage
promoted property on the using class
$inlineQuery
public
null|InlineQuery
$inlineQuery
promoted property on the using class
$managedBot
public
null|ManagedBotUpdated
$managedBot
promoted property on the using class
$message
public
null|Message
$message
promoted property on the using class
$messageReaction
public
null|MessageReactionUpdated
$messageReaction
promoted property on the using class
$messageReactionCount
public
null|MessageReactionCountUpdated
$messageReactionCount
promoted property on the using class
$myChatMember
public
null|ChatMemberUpdated
$myChatMember
promoted property on the using class
$poll
public
null|Poll
$poll
promoted property on the using class
$pollAnswer
public
null|PollAnswer
$pollAnswer
promoted property on the using class
$preCheckoutQuery
public
null|PreCheckoutQuery
$preCheckoutQuery
promoted property on the using class
$purchasedPaidMedia
public
null|PaidMediaPurchased
$purchasedPaidMedia
promoted property on the using class
$removedChatBoost
public
null|ChatBoostRemoved
$removedChatBoost
promoted property on the using class
$shippingQuery
public
null|ShippingQuery
$shippingQuery
promoted property on the using class
Methods
eventType()
public
eventType() : string|null