account.UpdatePersonalChannel
- class pyrogram.raw.functions.account.UpdatePersonalChannel
Associate (or remove) a personal channel », that will be listed on our personal profile page ».
- Details:
Layer:
223ID:
D94305E0
- Parameters:
channel (
InputChannel) – The channel, pass inputChannelEmpty to remove it.- Returns:
bool
TL Schema
account.updatePersonalChannel#d94305e0
channel:InputChannel
= Bool
Parameter Tree
UpdatePersonalChannel
└── channel →
InputChannel├──
InputChannel│ ├── channel_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── channel_id →
longExample
await app.invoke(
UpdatePersonalChannel(
channel=await app.resolve_channel(chat_id),
)
)