Reformat code and docs

This commit is contained in:
Alex Root Junior 2020-01-11 22:59:14 +02:00
parent 690223f4e0
commit 3b2df194a9
95 changed files with 825 additions and 751 deletions

View file

@ -40,21 +40,21 @@ Imports:
- `from aiogram.api.methods import StopMessageLiveLocation`
- `from aiogram.api.methods.stop_message_live_location import StopMessageLiveLocation`
#### As reply into Webhook
```python3
return StopMessageLiveLocation(...)
```
#### With specific bot
```python3
result: Union[Message, bool] = await bot.emit(StopMessageLiveLocation(...))
```
#### In handlers with current bot
```python3
result: Union[Message, bool] = await StopMessageLiveLocation(...)
```
#### With specific bot
```python3
result: Union[Message, bool] = await bot(StopMessageLiveLocation(...))
```
#### As reply into Webhook in handler
```python3
return StopMessageLiveLocation(...)
```
## Related pages: