Link Search Menu Expand Document

Constructor: updateChannel

Back to constructors index

Channel/supergroup (channel and/or channelFull) 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 channel, 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 (channelFull) must be invalidated for channel_id when receiving this update.

Attributes:

NameTypeRequiredDescription
channel_idlongYesChannel ID

Type: Update

Example:

$updateChannel = ['_' => 'updateChannel', 'channel_id' => long];