channels.SetStickers
- class pyrogram.raw.functions.channels.SetStickers
Associate a stickerset to the supergroup
- Details:
Layer:
223ID:
EA8CA4F9
- Parameters:
channel (
InputChannel) – Supergroupstickerset (
InputStickerSet) – The stickerset to associate
- Returns:
bool
TL Schema
channels.setStickers#ea8ca4f9
channel:InputChannel
stickerset:InputStickerSet
= Bool
Parameter Tree
SetStickers
├── 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(
SetStickers(
channel=await app.resolve_channel(chat_id),
stickerset=InputStickerSetEmpty(),
)
)