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 #

NameTypeDescription
channelInputChannelThe channel.
tabProfileTabThe tab to set as main tab.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.

User profiles #

Telegram offers many customization options for your profile!