channels.UpdateEmojiStatus

class pyrogram.raw.functions.channels.UpdateEmojiStatus

Set an emoji status for a channel or supergroup.

Details:
  • Layer: 223

  • ID: 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:

Updates

TL Schema

channels.updateEmojiStatus#f0d3e6a8
channel:InputChannel
emoji_status:EmojiStatus

= Updates

Parameter Tree

UpdateEmojiStatus
├── channelInputChannel
│ ├── InputChannelEmpty
│ ├── InputChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── emoji_statusEmojiStatus
├── EmojiStatus
│ ├── document_idlong
│ └── untilint (optional)
│ ├── collectible_idlong
│ ├── document_idlong
│ ├── titlestring
│ ├── slugstring
│ ├── pattern_document_idlong
│ ├── center_colorint
│ ├── edge_colorint
│ ├── pattern_colorint
│ ├── text_colorint
│ └── untilint (optional)
├── collectible_idlong
└── untilint (optional)

Example

await app.invoke(
    UpdateEmojiStatus(
        channel=await app.resolve_channel(chat_id),
        emoji_status=EmojiStatusEmpty(),
    )
)