mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
967 B
967 B
getStickerSet
Description
Use this method to get a sticker set. On success, a StickerSet object is returned.
Arguments
| Name | Type | Description |
|---|---|---|
name |
#!python3 str |
Name of the sticker set |
Response
Type: #!python3 StickerSet
Description: On success, a StickerSet object is returned.
Usage
As bot method
result: StickerSet = await bot.get_sticker_set(...)
Method as object
Imports:
from aiogram.methods import GetStickerSetfrom aiogram.api.methods import GetStickerSetfrom aiogram.api.methods.get_sticker_set import GetStickerSet
In handlers with current bot
result: StickerSet = await GetStickerSet(...)
With specific bot
result: StickerSet = await bot(GetStickerSet(...))