Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add missing updates to docs of API constants #581

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading