SendRichMessageDraft
data class SendRichMessageDraft(val chatId: ChatId, val draftId: Long, val richMessage: InputRichMessage, val threadId: MessageThreadId? = chatId.threadId) : SimpleRequest<Unit>
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.
See also
Constructors
Link copied to clipboard
constructor(chatId: ChatId, draftId: Long, richMessage: InputRichMessage, threadId: MessageThreadId? = chatId.threadId)