account.updatePersonalChannel #

Associate (or remove) a personal channel », that will be listed on our personal profile page ».

Changing it will emit an updateUser update.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.updatePersonalChannel#d94305e0 channel:InputChannel = Bool;

Parameters #

NameTypeDescription
channelInputChannelThe channel, pass inputChannelEmpty to remove it.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400PUBLIC_BROADCAST_EXPECTEDchannel only accepts a channel, but a supergroup was passed.

inputChannelEmpty #

Represents the absence of a channel

Channels, supergroups, gigagroups and basic groups #

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

User profiles #

Telegram offers many customization options for your profile!

updateUser #

User (user and/or userFull) information was updated.

This update can only be received through getDifference or in updates/updatesCombined constructors, so it will always come bundled with the updated user, that should be applied as usual », without re-fetching the info manually.

However, full peer information will not come bundled in updates, so the full peer cache (userFull) must be invalidated for user_id when receiving this update.