Link Search Menu Expand Document

Constructor: updateChannelMessageViews

Back to constructors index

The view counter of a message in a channel has changed

Attributes:

NameTypeRequiredDescription
channel_idlongYesChannel ID
idintYesID of the message
viewsintYesNew view counter

Type: Update

Example:

$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => long, 'id' => int, 'views' => int];