channels.SetEmojiStickers
- class pyrogram.raw.functions.channels.SetEmojiStickers
Set a custom emoji stickerset for supergroups. Only usable after reaching at least the boost level » specified in the group_emoji_stickers_level_min » config parameter.
- Details:
Layer:
223ID:
3CD930B7
- Parameters:
channel (
InputChannel) – The supergroupstickerset (
InputStickerSet) – The custom emoji stickerset to associate to the supergroup
- Returns:
bool
TL Schema
channels.setEmojiStickers#3cd930b7
channel:InputChannel
stickerset:InputStickerSet
= Bool
Parameter Tree
SetEmojiStickers
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── stickerset →
InputStickerSet│ ├── id →
long│ └── access_hash →
long│ └── short_name →
string│ └── emoticon →
stringExample
await app.invoke(
SetEmojiStickers(
channel=await app.resolve_channel(chat_id),
stickerset=InputStickerSetEmpty(),
)
)