Documentation - v0.30.1
    Preparing search index...

    Interface RichStreamingDraft

    interface RichStreamingDraft {
        randomId: Long;
        uploadCache?: RichMediaUploadCache;
        send(content: InputRichMessage): Promise<void>;
    }
    Index

    Properties

    Methods

    Properties

    randomId: Long

    Random ID of the draft

    uploadCache?: RichMediaUploadCache

    Cache of media uploaded while streaming the draft (unless disabled).

    Pass it to the final sendRichMessage call to avoid re-uploading the media.

    Methods