channels.SetStickers

class pyrogram.raw.functions.channels.SetStickers

Associate a stickerset to the supergroup

Details:
  • Layer: 223

  • ID: EA8CA4F9

Parameters:
Returns:

bool

TL Schema

channels.setStickers#ea8ca4f9
channel:InputChannel
stickerset:InputStickerSet

= Bool

Parameter Tree

SetStickers
├── 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(
    SetStickers(
        channel=await app.resolve_channel(chat_id),
        stickerset=InputStickerSetEmpty(),
    )
)