UpdateChatUserTyping

class pyrogram.raw.types.UpdateChatUserTyping

The user is preparing a message in a group; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing

Constructor of Update.

Details:
  • Layer: 223

  • ID: 83487AF0

Parameters:
  • chat_id (int 64-bit) – Group id

  • from_id (Peer) – Peer that started typing (can be the chat itself, in case of anonymous admins).

  • action (SendMessageAction) – Type of action

TL Schema

updateChatUserTyping#83487af0
chat_id:long
from_id:Peer
action:SendMessageAction

= Update

Parameter Tree

UpdateChatUserTyping
├── chat_idlong
├── from_idPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
└── actionSendMessageAction
│ └── progressint
│ └── progressint
│ └── progressint
│ └── progressint
│ └── progressint
│ └── progressint
│ ├── emoticonstring
│ ├── msg_idint
│ └── interactionDataJSON
│ └── DataJSON
│ └── datastring
│ └── emoticonstring
├── random_idlong
└── textTextWithEntities

Example

UpdateChatUserTyping(
    chat_id=0,
    from_id=PeerUser(user_id=0),
    action=SendMessageTypingAction(),
)