messages.EditForumTopic

class pyrogram.raw.functions.messages.EditForumTopic

{schema}

Details:
  • Layer: 223

  • 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
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── topic_idint
├── titlestring (optional)
├── icon_emoji_idlong (optional)
├── closedBool (optional)
└── hiddenBool (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,
    )
)