messages.EditChatAbout

class pyrogram.raw.functions.messages.EditChatAbout

Edit the description of a group/supergroup/channel.

Details:
  • Layer: 223

  • ID: DEF60797

Parameters:
  • peer (InputPeer) – The group/supergroup/channel.

  • about (str) – The new description

Returns:

bool

TL Schema

messages.editChatAbout#def60797
peer:InputPeer
about:string

= Bool

Parameter Tree

EditChatAbout
├── 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
└── aboutstring

Example

await app.invoke(
    EditChatAbout(
        peer=await app.resolve_peer(chat_id),
        about="text",
    )
)