getStickerSet

Description

Use this method to get a sticker set. On success, a StickerSet object is returned.

Arguments

Name Type Description
name str Name of the sticker set

Response

Type: 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(...))