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: 223

  • ID: 3CD930B7

Parameters:
  • channel (InputChannel) – The supergroup

  • stickerset (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
├── channelInputChannel
│ ├── InputChannelEmpty
│ ├── InputChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── stickersetInputStickerSet
│ ├── idlong
│ └── access_hashlong
│ └── short_namestring
│ └── emoticonstring

Example

await app.invoke(
    SetEmojiStickers(
        channel=await app.resolve_channel(chat_id),
        stickerset=InputStickerSetEmpty(),
    )
)