channels.UpdateEmojiStatus
- class pyrogram.raw.functions.channels.UpdateEmojiStatus
Set an emoji status for a channel or supergroup.
- Details:
Layer:
223ID:
F0D3E6A8
- Parameters:
channel (
InputChannel) – The channel/supergroup, must have at least channel_emoji_status_level_min/group_emoji_status_level_min boosts.emoji_status (
EmojiStatus) – Emoji status to set
- Returns:
TL Schema
channels.updateEmojiStatus#f0d3e6a8
channel:InputChannel
emoji_status:EmojiStatus
= Updates
Parameter Tree
UpdateEmojiStatus
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── emoji_status →
EmojiStatus├──
EmojiStatusEmpty├──
EmojiStatus│ ├── document_id →
long│ └── until →
int (optional)│ ├── collectible_id →
long│ ├── document_id →
long│ ├── title →
string│ ├── slug →
string│ ├── pattern_document_id →
long│ ├── center_color →
int│ ├── edge_color →
int│ ├── pattern_color →
int│ ├── text_color →
int│ └── until →
int (optional)├── collectible_id →
long└── until →
int (optional)Example
await app.invoke(
UpdateEmojiStatus(
channel=await app.resolve_channel(chat_id),
emoji_status=EmojiStatusEmpty(),
)
)