set_emoji_status()#
- Client.set_emoji_status()[source]#
Set the emoji status.
Usable by ✅ Users ❌ BotsNote
For Telegram Premium users only.
- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat. Defaults to the current user.emoji_status (
EmojiStatus, optional) – The emoji status to set. None to remove.
- Returns:
bool– On success, True is returned.
Example
from pyrogram import types await app.set_emoji_status(emoji_status=types.EmojiStatus(custom_emoji_id="1234567890987654321"))