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

@ -46,27 +46,27 @@ Imports:
- `from aiogram.api.methods import SendVenue`
- `from aiogram.api.methods.send_venue import SendVenue`
#### As reply into Webhook
```python3
return SendVenue(...)
```
#### With specific bot
```python3
result: Message = await bot.emit(SendVenue(...))
```
#### In handlers with current bot
```python3
result: Message = await SendVenue(...)
```
#### With specific bot
```python3
result: Message = await bot(SendVenue(...))
```
#### As reply into Webhook in handler
```python3
return SendVenue(...)
```
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#sendvenue)
- [aiogram.types.ForceReply](../types/force_reply.md)
- [aiogram.types.ReplyKeyboardMarkup](../types/reply_keyboard_markup.md)
- [aiogram.types.Message](../types/message.md)
- [aiogram.types.ReplyKeyboardRemove](../types/reply_keyboard_remove.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.Message](../types/message.md)
- [aiogram.types.ReplyKeyboardMarkup](../types/reply_keyboard_markup.md)
- [aiogram.types.ReplyKeyboardRemove](../types/reply_keyboard_remove.md)