Layer 227
UpdateChannelUserTyping
A user is typing in a supergroup, channel or message thread
constructor
updateChannelUserTyping#8c88c923 flags:# channel_id:long top_msg_id:flags.0?int from_id:Peer action:SendMessageAction = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| ChannelId | long | Channel ID |
| TopMsgId | flags .0? int | Thread ID |
| FromId | Peer | The peer that is typing |
| Action | SendMessageAction | Whether the user is typing, sending a media or doing something else |
Returns
UpdateGogram Example
// Creating UpdateChannelUserTyping constructor obj := &tg.UpdateChannelUserTyping{ ChannelId: int64(1234567890), TopMsgId: nil, FromId: &tg.Peer{}, Action: &tg.SendMessageAction{}, }