channels.GetChannels
- class pyrogram.raw.functions.channels.GetChannels
Get info about channels/supergroups
- Details:
Layer:
223ID:
A7F6BBB
- Parameters:
id (List of
InputChannel) – IDs of channels/supergroups to get info about- Returns:
TL Schema
channels.getChannels#a7f6bbb
id:Vector<InputChannel>
= messages.Chats
Parameter Tree
GetChannels
└── id →
Vector < 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(
GetChannels(
id=[
await app.resolve_channel(chat_id)
],
)
)