Link Search Menu Expand Document

Constructor: updateChannelUserTyping

Back to constructors index

A user is typing in a supergroup, channel or message thread

Attributes:

NameTypeRequiredDescription
channel_idlongYesChannel ID
top_msg_idintOptionalThread ID
from_idPeerYesThe peer that is typing
actionSendMessageActionYesWhether the user is typing, sending a media or doing something else

Type: Update

Example:

$updateChannelUserTyping = ['_' => 'updateChannelUserTyping', 'channel_id' => long, 'top_msg_id' => int, 'from_id' => Peer, 'action' => SendMessageAction];