Layer 220
ChannelsGetFullChannel
Get full info about a supergroup, gigagroup or channel
method
Users
Bots
channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;
Parameters
| Name | Type | Description |
|---|---|---|
| Channel | InputChannel | The channel, supergroup or gigagroup to get info about |
Returns
messages.ChatFullPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 406 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 403 | CHANNEL_PUBLIC_GROUP_NA | channel/supergroup not available. |
| 400 | CHAT_NOT_MODIFIED | No changes were made to chat information because the new information you passed is identical to the current information. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |
Gogram Example
// ChannelsGetFullChannel - positional arguments result, err := client.ChannelsGetFullChannel(&tg.InputChannel{ChannelID: int64(123456789), AccessHash: int64(0)}) if err != nil { // handle error } // result is *tg.MessagesChatFull