aiogram/docs/api/methods/get_sticker_set.md
2020-04-11 20:15:03 +03:00

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 GetStickerSet
  • from aiogram.api.methods import GetStickerSet
  • from 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(...))