messages.EditForumTopic

class pyrogram.raw.functions.messages.EditForumTopic

{schema}

Details:
  • Layer: 227

  • ID: CECC1134

Parameters:
  • peer (InputPeer)

  • topic_id (int 32-bit)

  • title (str, optional)

  • icon_emoji_id (int 64-bit, optional)

  • closed (bool, optional)

  • hidden (bool, optional)

Returns:

Updates

TL Schema

messages.editForumTopic#cecc1134
flags:#
peer:InputPeer
topic_id:int
title:flags.0?string
icon_emoji_id:flags.1?long
closed:flags.2?Bool
hidden:flags.3?Bool

= Updates

Parameter Tree

EditForumTopic
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
├── topic_id → int
├── title → string (optional)
├── icon_emoji_id → long (optional)
├── closed → Bool (optional)
└── hidden → Bool (optional)

Example

await app.invoke(
    EditForumTopic(
        peer=await app.resolve_peer(chat_id),
        topic_id=0,
        title="text",
        icon_emoji_id=0,
        closed=None,
        hidden=None,
    )
)