set_chat_custom_emoji_sticker_set()¶
- async Client.set_chat_custom_emoji_sticker_set()¶
Set or remove the custom emoji sticker set for a supergroup.
Only usable after reaching the required boost level.
- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target supergroup.sticker_set_name (
str, optional) – Name of the custom emoji sticker set to set. Pass None to remove the custom emoji sticker set. Defaults to None.
- Returns:
bool– True on success.
Example
# Set custom emoji set await app.set_chat_custom_emoji_sticker_set(chat_id, "mycustomemojis") # Remove custom emoji set await app.set_chat_custom_emoji_sticker_set(chat_id)