channels.setMainProfileTab #
Changes the main profile tab of a channel, see here » for more info.¶
Layer 223
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
channels.setMainProfileTab#3583fcb1 channel:InputChannel tab:ProfileTab = Bool; Parameters #
| Name | Type | Description |
|---|---|---|
| channel | InputChannel | The channel. |
| tab | ProfileTab | The tab to set as main tab. |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
Related pages #
User profiles #
Telegram offers many customization options for your profile!¶