Skip to content

sendRichMessageDraft

Function · TDLib 1.8.67 · d1085f9c

Sends a draft for a being generated rich message; for bots only

sendRichMessageDraft(
  chat_id: int53,
  forum_topic_id: int32,
  draft_id: int64,
  can_stop: Bool,
  keep_on_stop: Bool,
  message: InputRichMessage
) → Ok

chat_id

int53

Chat identifier

forum_topic_id

int32

The forum topic identifier in which the message will be sent; pass 0 if none

draft_id

int64

Unique identifier of the draft

can_stop

Bool

Pass true to show the user a button to stop further drafts

keep_on_stop

Bool

Pass true to keep the current draft when the user stops further generation

message

InputRichMessage

Draft of the message; file upload isn't supported