Layer 220
ChannelsConvertToGigagroup
Convert a supergroup to a gigagroup, when requested by channel suggestions.
method
Users
channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Channel | InputChannel | The supergroup to convert |
Returns
UpdatesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_ID_INVALID | The specified supergroup ID is invalid. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 403 | CHAT_WRITE_FORBIDDEN | You can't write in this chat. |
| 400 | FORUM_ENABLED | You can't execute the specified action because the group is a forum, disable forum functionality to continue. |
| 400 | PARTICIPANTS_TOO_FEW | Not enough participants. |
Gogram Example
// ChannelsConvertToGigagroup - positional arguments result, err := client.ChannelsConvertToGigagroup(&tg.InputChannel{ChannelID: int64(123456789), AccessHash: int64(0)}) if err != nil { // handle error } // result is *tg.Updates