UpdateChannelUserTyping

class pyrogram.raw.types.UpdateChannelUserTyping

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

Constructor of Update.

Details:
  • Layer: 227

  • ID: 8C88C923

Parameters:
  • channel_id (int 64-bit) – Channel ID

  • from_id (Peer) – The peer that is typing

  • action (SendMessageAction) – Whether the user is typing, sending a media or doing something else

  • top_msg_id (int 32-bit, optional) – Thread ID

TL Schema

updateChannelUserTyping#8c88c923
flags:#
channel_id:long
top_msg_id:flags.0?int
from_id:Peer
action:SendMessageAction

= Update

Parameter Tree

UpdateChannelUserTyping
├── channel_idlong
├── top_msg_idint (optional)
├── 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
│ └── TextWithEntities
│ ├── textstring
│ └── entitiesVector < MessageEntity >
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
│ ├── random_idlong
│ └── rich_messageInputRichMessage
│ ├── InputRichMessage
│ │ ├── rtltrue (optional)
│ │ ├── noautolinktrue (optional)
│ │ ├── blocksVector < PageBlock >
│ │ │ ├── PageBlockUnsupported
│ │ │ ├── PageBlockTitle
│ │ │ ├── PageBlockSubtitle
│ │ │ ├── PageBlockAuthorDate
│ │ │ ├── PageBlockHeader
│ │ │ ├── PageBlockSubheader
│ │ │ ├── PageBlockParagraph
│ │ │ ├── PageBlockPreformatted
│ │ │ ├── PageBlockFooter
│ │ │ ├── PageBlockDivider
│ │ │ ├── PageBlockAnchor
│ │ │ ├── PageBlockList
│ │ │ ├── PageBlockBlockquote
│ │ │ ├── PageBlockPullquote
│ │ │ ├── PageBlockPhoto
│ │ │ ├── PageBlockVideo
│ │ │ ├── PageBlockCover
│ │ │ ├── PageBlockEmbed
│ │ │ ├── PageBlockEmbedPost
│ │ │ ├── PageBlockCollage
│ │ │ ├── PageBlockSlideshow
│ │ │ ├── PageBlockChannel
│ │ │ ├── PageBlockAudio
│ │ │ ├── PageBlockKicker
│ │ │ ├── PageBlockTable
│ │ │ ├── PageBlockOrderedList
│ │ │ ├── PageBlockDetails
│ │ │ ├── PageBlockRelatedArticles
│ │ │ ├── PageBlockMap
│ │ │ ├── PageBlockHeading1
│ │ │ ├── PageBlockHeading2
│ │ │ ├── PageBlockHeading3
│ │ │ ├── PageBlockHeading4
│ │ │ ├── PageBlockHeading5
│ │ │ ├── PageBlockHeading6
│ │ │ ├── PageBlockMath
│ │ │ ├── PageBlockThinking
│ │ │ ├── InputPageBlockMap
│ │ │ └── PageBlockBlockquoteBlocks
│ │ ├── photosVector < InputPhoto > (optional)
│ │ │ ├── InputPhotoEmpty
│ │ │ └── InputPhoto
│ │ ├── documentsVector < InputDocument > (optional)
│ │ │ ├── InputDocumentEmpty
│ │ │ └── InputDocument
│ │ └── usersVector < InputUser > (optional)
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── InputRichMessageHTML
│ │ ├── rtltrue (optional)
│ │ ├── noautolinktrue (optional)
│ │ ├── htmlstring
│ │ └── filesVector < InputRichFile > (optional)
│ │ ├── InputRichFilePhoto
│ │ └── InputRichFileDocument
│ ├── rtltrue (optional)
│ ├── noautolinktrue (optional)
│ ├── markdownstring
│ └── filesVector < InputRichFile > (optional)
│ ├── InputRichFilePhoto
│ └── InputRichFileDocument
├── random_idlong
└── rich_messageRichMessage
└── RichMessage
├── rtltrue (optional)
├── parttrue (optional)
├── blocksVector < PageBlock >
│ ├── PageBlockUnsupported
│ ├── PageBlockTitle
│ ├── PageBlockSubtitle
│ ├── PageBlockAuthorDate
│ ├── PageBlockHeader
│ ├── PageBlockSubheader
│ ├── PageBlockParagraph
│ ├── PageBlockPreformatted
│ ├── PageBlockFooter
│ ├── PageBlockDivider
│ ├── PageBlockAnchor
│ ├── PageBlockList
│ ├── PageBlockBlockquote
│ ├── PageBlockPullquote
│ ├── PageBlockPhoto
│ ├── PageBlockVideo
│ ├── PageBlockCover
│ ├── PageBlockEmbed
│ ├── PageBlockEmbedPost
│ ├── PageBlockCollage
│ ├── PageBlockSlideshow
│ ├── PageBlockChannel
│ ├── PageBlockAudio
│ ├── PageBlockKicker
│ ├── PageBlockTable
│ ├── PageBlockOrderedList
│ ├── PageBlockDetails
│ ├── PageBlockMap
│ ├── PageBlockHeading1
│ ├── PageBlockHeading2
│ ├── PageBlockHeading3
│ ├── PageBlockHeading4
│ ├── PageBlockHeading5
│ ├── PageBlockHeading6
│ ├── PageBlockMath
│ ├── PageBlockThinking
│ ├── InputPageBlockMap
├── photosVector < Photo >
│ ├── PhotoEmpty
│ └── Photo
└── documentsVector < Document >
├── DocumentEmpty
└── Document

Example

UpdateChannelUserTyping(
    channel_id=0,
    from_id=PeerUser(user_id=0),
    action=SendMessageTypingAction(),
)