Constructors
Properties
Methods
onBusinessConnection
- onBusinessConnection(
data: undefined | BusinessConnection,
): undefined | BusinessConnection Parameters
- data: undefined | BusinessConnection
onCallbackQuery
- onCallbackQuery(data: undefined | CallbackQuery): undefined | CallbackQuery
Parameters
- data: undefined | CallbackQuery
onChatBoost
- onChatBoost(data: undefined | ChatBoostUpdated): undefined | ChatBoostUpdated
Parameters
- data: undefined | ChatBoostUpdated
onChatJoinRequest
- onChatJoinRequest(
data: undefined | ChatJoinRequest,
): undefined | ChatJoinRequest Parameters
- data: undefined | ChatJoinRequest
onChatMember
- onChatMember(data: undefined | ChatMemberUpdated): undefined | ChatMemberUpdated
Parameters
- data: undefined | ChatMemberUpdated
onChatMemberAdd
- onChatMemberAdd(data: undefined | Message & NonChannel): undefined | Message
Parameters
- data: undefined | Message & NonChannel
Returns undefined | Message
onChatMemberRemove
- onChatMemberRemove(data: undefined | Message & NonChannel): undefined | Message
Parameters
- data: undefined | Message & NonChannel
Returns undefined | Message
onChosenInlineResult
- onChosenInlineResult(
data: undefined | ChosenInlineResult,
): undefined | ChosenInlineResult Parameters
- data: undefined | ChosenInlineResult
onDeletedBusinessMessages
- onDeletedBusinessMessages(
data: undefined | BusinessMessagesDeleted,
): undefined | BusinessMessagesDeleted Parameters
- data: undefined | BusinessMessagesDeleted
onInlineQuery
- onInlineQuery(data: undefined | InlineQuery): undefined | InlineQuery
Parameters
- data: undefined | InlineQuery
onMessage
- onMessage(
data:
| undefined
| Message & NonChannel
| Message & Channel
| Message & Private,
): undefined
| Message Parameters
- data: undefined | Message & NonChannel | Message & Channel | Message & Private
Returns undefined | Message
onMessageEdit
- onMessageEdit(
data:
| undefined
| Message & Edited & NonChannel
| Message & Edited & Channel
| Message & Edited & Private,
): undefined
| Message Parameters
- data:
| undefined
| Message & Edited & NonChannel
| Message & Edited & Channel
| Message & Edited & Private
Returns undefined | Message
onMessageReaction
- onMessageReaction(
data: undefined | MessageReactionUpdated,
): undefined | MessageReactionUpdated Parameters
- data: undefined | MessageReactionUpdated
onMessageReactionCount
- onMessageReactionCount(
data: undefined | MessageReactionCountUpdated,
): undefined | MessageReactionCountUpdated Parameters
- data: undefined | MessageReactionCountUpdated
onMyChatMember
- onMyChatMember(
data: undefined | ChatMemberUpdated,
): undefined | ChatMemberUpdated Parameters
- data: undefined | ChatMemberUpdated
onPoll
- onPoll(data: undefined | Poll): undefined | Poll
Returns undefined | Poll
onPollAnswer
- onPollAnswer(data: undefined | PollAnswer): undefined | PollAnswer
Parameters
- data: undefined | PollAnswer
onPreCheckoutQuery
- onPreCheckoutQuery(
data: undefined | PreCheckoutQuery,
): undefined | PreCheckoutQuery Parameters
- data: undefined | PreCheckoutQuery
onPurchasedPaidMedia
- onPurchasedPaidMedia(
data: undefined | PaidMediaPurchased,
): undefined | PaidMediaPurchased Parameters
- data: undefined | PaidMediaPurchased
onRemovedChatBoost
- onRemovedChatBoost(
data: undefined | ChatBoostRemoved,
): undefined | ChatBoostRemoved Parameters
- data: undefined | ChatBoostRemoved
onShippingQuery
- onShippingQuery(data: undefined | ShippingQuery): undefined | ShippingQuery
Parameters
- data: undefined | ShippingQuery
Handles incoming updates from the Telegram API and routes them to the appropriate event handlers.