channels.EditTitle
- class pyrogram.raw.functions.channels.EditTitle
Edit the name of a channel/supergroup
- Details:
Layer:
223ID:
566DECD0
- Parameters:
channel (
InputChannel) – Channel/supergrouptitle (
str) – New name
- Returns:
TL Schema
channels.editTitle#566decd0
channel:InputChannel
title:string
= Updates
Parameter Tree
EditTitle
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── title →
stringExample
await app.invoke(
EditTitle(
channel=await app.resolve_channel(chat_id),
title="text",
)
)