Send Rich Message Draft
@Serializable
Use this method to stream a partial rich message to a user while the message is being generated. The streamed draft is ephemeral and acts as a temporary 30-second preview - once the output is finalized, SendRichMessage must be called with the complete message to persist it in the user's chat.
Parameters
chat Id
Numeric target chat identifier.
thread Id
Message thread identifier. Defaults from chatId.
See also
Constructors
Link copied to clipboard
constructor(chatId: IdChatIdentifier, draftId: Long, richMessage: InputRichMessage, threadId: MessageThreadId? = chatId.threadIdOrDirectMessageThreadIdAsThreadId, canStop: Boolean? = null, keepOnStop: Boolean? = null)