channels.setStickers #

Associate a stickerset to the supergroup

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool;

Parameters #

NameTypeDescription
channelInputChannelSupergroup
stickersetInputStickerSetThe stickerset to associate

Result #

Bool

Both users and bots can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHAT_ID_INVALIDThe provided chat id is invalid.
400PARTICIPANTS_TOO_FEWNot enough participants.
406STICKERSET_OWNER_ANONYMOUSProvided stickerset can't be installed as group stickerset to prevent admin deanonymization.