Layer 220
constructor
updateChatUserTyping#83487af0 chat_id:long from_id:Peer action:SendMessageAction = Update;

Parameters

Name Type Description
ChatId long Group id
FromId Peer Peer that started typing (can be the chat itself, in case of anonymous admins).
Action SendMessageAction Type of action

Returns

Update

Gogram Example

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