channels.SetStickers

class pyrogram.raw.functions.channels.SetStickers

Associate a stickerset to the supergroup

Details:
  • Layer: 227

  • ID: EA8CA4F9

Parameters:
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
│ ├── 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 → string

Example

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