SendMessageTextDraftAction

class pyrogram.raw.types.SendMessageTextDraftAction[source]

Used by bots to implement live message streaming ».

Constructor of SendMessageAction.

Details:
  • Layer: 229

  • ID: 3630B85A

Parameters:
  • random_id (int 64-bit) – Live draft ID: used by graphical clients to slightly change the rendering behavior, see here » for more info. See here » for more info on random ID deduplication and updateMessageID mapping.

  • text (TextWithEntities) – The contents of the live draft.

  • can_stop (bool, optional) – N/A

  • keep_on_stop (bool, optional) – N/A