Link Search Menu Expand Document

Constructor: updateChat

Back to constructors index

Chat (chat and/or chatFull) 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 chat, 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 (chatFull) must be invalidated for chat_id when receiving this update.

Attributes:

NameTypeRequiredDescription
chat_idlongYesChat ID

Type: Update

Example:

$updateChat = ['_' => 'updateChat', 'chat_id' => long];