mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Reformat code and docs
This commit is contained in:
parent
690223f4e0
commit
3b2df194a9
95 changed files with 825 additions and 751 deletions
|
|
@ -37,21 +37,21 @@ Imports:
|
|||
- `from aiogram.api.methods import DeleteStickerFromSet`
|
||||
- `from aiogram.api.methods.delete_sticker_from_set import DeleteStickerFromSet`
|
||||
|
||||
#### As reply into Webhook
|
||||
```python3
|
||||
return DeleteStickerFromSet(...)
|
||||
```
|
||||
|
||||
#### With specific bot
|
||||
```python3
|
||||
result: bool = await bot.emit(DeleteStickerFromSet(...))
|
||||
```
|
||||
|
||||
#### In handlers with current bot
|
||||
```python3
|
||||
result: bool = await DeleteStickerFromSet(...)
|
||||
```
|
||||
|
||||
#### With specific bot
|
||||
```python3
|
||||
result: bool = await bot(DeleteStickerFromSet(...))
|
||||
```
|
||||
#### As reply into Webhook in handler
|
||||
```python3
|
||||
return DeleteStickerFromSet(...)
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Related pages:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue