setStickerSetTitle#

Returns: bool

class aiogram.methods.set_sticker_set_title.SetStickerSetTitle(*, name: str, title: str, **extra_data: Any)[source]#

Use this method to set the title of a created sticker set. Returns True on success.

Source: https://core.telegram.org/bots/api#setstickersettitle

name: str#

Sticker set name

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(_ModelMetaclass__context: Any) None#

We need to both initialize private attributes and call the user-defined model_post_init method.

title: str#

Sticker set title, 1-64 characters

Usage#

As bot method#

result: bool = await bot.set_sticker_set_title(...)

Method as object#

Imports:

  • from aiogram.methods.set_sticker_set_title import SetStickerSetTitle

  • alias: from aiogram.methods import SetStickerSetTitle

With specific bot#

result: bool = await bot(SetStickerSetTitle(...))

As reply into Webhook in handler#

return SetStickerSetTitle(...)