Skip to content

Commit

Permalink
doc: add missing updates to docs of API constants (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf authored May 14, 2024
1 parent 45d71b6 commit 34905bd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/convenience/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const ALL_CHAT_PERMISSIONS = {
export interface ApiConstants {
/**
* List of update types a bot receives by default. Useful if you want to
* receive all update types but `chat_member`.
* receive all update types but `chat_member`, `message_reaction`, and
* `message_reaction_count`.
*
* ```ts
* // Built-in polling:
Expand All @@ -52,8 +53,9 @@ export interface ApiConstants {
* updates from the Bot API, rather than just those that are delivered by
* default.
*
* The main use case for this is when you want to receive `chat_member`
* updates, as they need to be enabled first. Use it like so:
* The main use case for this is when you want to receive `chat_member`,
* `message_reaction`, and `message_reaction_count` updates, as they need to
* be enabled first. Use it like so:
*
* ```ts
* // Built-in polling:
Expand Down

0 comments on commit 34905bd

Please sign in to comment.