mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Add autogenerated docs for types and methods
This commit is contained in:
parent
a24708d589
commit
65331e1fda
166 changed files with 7361 additions and 4 deletions
58
docs/api/methods/delete_sticker_from_set.md
Normal file
58
docs/api/methods/delete_sticker_from_set.md
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# deleteStickerFromSet
|
||||
|
||||
## Description
|
||||
|
||||
Use this method to delete a sticker from a set created by the bot. Returns True on success.
|
||||
|
||||
|
||||
## Arguments
|
||||
|
||||
| Name | Type | Description |
|
||||
| - | - | - |
|
||||
| `sticker` | `#!python3 str` | File identifier of the sticker |
|
||||
|
||||
|
||||
|
||||
## Response
|
||||
|
||||
Type: `#!python3 bool`
|
||||
|
||||
Description: Returns True on success.
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
### As bot method bot
|
||||
|
||||
```python3
|
||||
result: bool = await bot.delete_sticker_from_set(...)
|
||||
```
|
||||
|
||||
### Method as object
|
||||
|
||||
Imports:
|
||||
|
||||
- `from aiogram.types import DeleteStickerFromSet`
|
||||
- `from aiogram.api.types import DeleteStickerFromSet`
|
||||
- `from aiogram.api.types.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(...)
|
||||
```
|
||||
|
||||
|
||||
## Related pages:
|
||||
|
||||
- [Official documentation](https://core.telegram.org/bots/api#deletestickerfromset)
|
||||
Loading…
Add table
Add a link
Reference in a new issue