messages.EditChatAbout

class pyrogram.raw.functions.messages.EditChatAbout

Edit the description of a group/supergroup/channel.

Details:
  • Layer: 227

  • 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
├── 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
└── about → string

Example

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