Layer 220
constructor
updateChannelUserTyping#8c88c923 flags:# channel_id:long top_msg_id:flags.0?int from_id:Peer action:SendMessageAction = Update;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
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

Update

Gogram Example

// Creating UpdateChannelUserTyping constructor
obj := &tg.UpdateChannelUserTyping{
    ChannelId: int64(0),
    FromId: &tg.Peer{},
    Action: &tg.SendMessageAction{},

    // Optional fields:
    // TopMsgId: 0,
}