mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 18:19:34 +00:00
Reformat code and docs
This commit is contained in:
parent
690223f4e0
commit
3b2df194a9
95 changed files with 825 additions and 751 deletions
|
|
@ -38,20 +38,21 @@ Imports:
|
|||
- `from aiogram.api.methods import UploadStickerFile`
|
||||
- `from aiogram.api.methods.upload_sticker_file import UploadStickerFile`
|
||||
|
||||
|
||||
#### With specific bot
|
||||
```python3
|
||||
result: File = await bot.emit(UploadStickerFile(...))
|
||||
```
|
||||
|
||||
#### In handlers with current bot
|
||||
```python3
|
||||
result: File = await UploadStickerFile(...)
|
||||
```
|
||||
|
||||
#### With specific bot
|
||||
```python3
|
||||
result: File = await bot(UploadStickerFile(...))
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Related pages:
|
||||
|
||||
- [Official documentation](https://core.telegram.org/bots/api#uploadstickerfile)
|
||||
- [aiogram.types.InputFile](../types/input_file.md)
|
||||
- [aiogram.types.File](../types/file.md)
|
||||
- [aiogram.types.InputFile](../types/input_file.md)
|
||||
- [How to upload file?](../sending_files.md)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue