setStickerPositionInSet¶
Returns: bool
- class litegram.methods.set_sticker_position_in_set.SetStickerPositionInSet(*, sticker: str, position: int, **extra_data: Any)[source]¶
Use this method to move a sticker in a set created by the bot to a specific position. Returns
Trueon success.Source: https://core.telegram.org/bots/api#setstickerpositioninset
Usage¶
As bot method¶
result: bool = await bot.set_sticker_position_in_set(...)
Method as object¶
Imports:
from litegram.methods.set_sticker_position_in_set import SetStickerPositionInSetalias:
from litegram.methods import SetStickerPositionInSet
With specific bot¶
result: bool = await bot(SetStickerPositionInSet(...))
As reply into Webhook in handler¶
return SetStickerPositionInSet(...)