mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge branch 'master' of https://github.com/coder2020official/pyTelegramBotAPI
This commit is contained in:
commit
bf96f13296
@ -31,6 +31,7 @@
|
|||||||
* [Poll Answer Handler](#poll-answer-handler)
|
* [Poll Answer Handler](#poll-answer-handler)
|
||||||
* [My Chat Member Handler](#my-chat-member-handler)
|
* [My Chat Member Handler](#my-chat-member-handler)
|
||||||
* [Chat Member Handler](#chat-member-handler)
|
* [Chat Member Handler](#chat-member-handler)
|
||||||
|
* [Chat Join request handler](#chat-join-request-handler)
|
||||||
* [Inline Mode](#inline-mode)
|
* [Inline Mode](#inline-mode)
|
||||||
* [Inline handler](#inline-handler)
|
* [Inline handler](#inline-handler)
|
||||||
* [Chosen Inline handler](#chosen-inline-handler)
|
* [Chosen Inline handler](#chosen-inline-handler)
|
||||||
@ -272,6 +273,10 @@ Handle updates of a chat member's status in a chat
|
|||||||
`@bot.chat_member_handler() # <- passes a ChatMemberUpdated type object to your function`
|
`@bot.chat_member_handler() # <- passes a ChatMemberUpdated type object to your function`
|
||||||
*Note: "chat_member" updates are not requested by default. If you want to allow all update types, set `allowed_updates` in `bot.polling()` / `bot.infinity_polling()` to `util.update_types`*
|
*Note: "chat_member" updates are not requested by default. If you want to allow all update types, set `allowed_updates` in `bot.polling()` / `bot.infinity_polling()` to `util.update_types`*
|
||||||
|
|
||||||
|
#### Chat Join Request Handler
|
||||||
|
Handle chat join requests using:
|
||||||
|
`@bot.chat_join_request_handler() # <- passes ChatInviteLink type object to your function`
|
||||||
|
|
||||||
### Inline Mode
|
### Inline Mode
|
||||||
|
|
||||||
More information about [Inline mode](https://core.telegram.org/bots/inline).
|
More information about [Inline mode](https://core.telegram.org/bots/inline).
|
||||||
|
Loading…
Reference in New Issue
Block a user