remove beta note

Poolitzer 2020-01-04 00:43:20 -08:00
parent c1fc9eb93e
commit 1789a67307

@ -375,11 +375,11 @@ send_upload_photo_action = send_action(ChatAction.UPLOAD_PHOTO)
With the above aliases, the following decorators are equivalent With the above aliases, the following decorators are equivalent
```python ```python
@send_typing_action @send_typing_action
def my_handler(bot, update): def my_handler(update, context):
pass # user will see 'typing' while your bot is handling the request. pass # user will see 'typing' while your bot is handling the request.
@send_action(ChatAction.TYPING) @send_action(ChatAction.TYPING)
def my_handler(bot, update): def my_handler(update, context):
pass # user will see 'typing' while your bot is handling the request. pass # user will see 'typing' while your bot is handling the request.
``` ```
All possible actions are documented [here](https://core.telegram.org/bots/api#sendchataction). All possible actions are documented [here](https://core.telegram.org/bots/api#sendchataction).
@ -476,7 +476,7 @@ from threading import Thread
# Other code # Other code
def main(): def main():
updater = Updater("TOKEN") updater = Updater("TOKEN", context=True)
dp = updater.dispatcher dp = updater.dispatcher
# Add your other handlers here... # Add your other handlers here...