@deltachat/jsonrpc-client
    Preparing search index...

    Type Alias Message

    type Message = {
        chatId: T.U32;
        dimensionsHeight: T.I32;
        dimensionsWidth: T.I32;
        downloadState: DownloadState;
        duration: T.I32;
        error: string | null;
        file: string | null;
        fileBytes: U64;
        fileMime: string | null;
        fileName: string | null;
        fromId: T.U32;
        hasDeviatingTimestamp: boolean;
        hasHtml: boolean;
        hasLocation: boolean;
        id: T.U32;
        infoContactId: T.U32 | null;
        isBot: boolean;
        isEdited: boolean;
        isForwarded: boolean;
        isInfo: boolean;
        isSetupmessage: boolean;
        originalMsgId: T.U32 | null;
        overrideSenderName: string | null;
        parentId: T.U32 | null;
        quote: MessageQuote | null;
        reactions: Reactions | null;
        receivedTimestamp: I64;
        savedMessageId: T.U32 | null;
        sender: Contact;
        setupCodeBegin: string | null;
        showPadlock: boolean;
        sortTimestamp: I64;
        state: T.U32;
        subject: string;
        systemMessageType: SystemMessageType;
        text: string;
        timestamp: I64;
        vcardContact: VcardContact | null;
        videochatType: T.U32 | null;
        videochatUrl: string | null;
        viewType: Viewtype;
        webxdcHref: string | null;
        webxdcInfo: WebxdcMessageInfo | null;
    }
    Index

    Properties

    chatId: T.U32
    dimensionsHeight: T.I32
    dimensionsWidth: T.I32
    downloadState: DownloadState
    duration: T.I32
    error: string | null

    An error text, if there is one.

    file: string | null
    fileBytes: U64
    fileMime: string | null
    fileName: string | null
    fromId: T.U32
    hasDeviatingTimestamp: boolean
    hasHtml: boolean
    hasLocation: boolean

    Check if a message has a POI location bound to it. These locations are also returned by get_locations method. The UI may decide to display a special icon beside such messages.

    id: T.U32
    infoContactId: T.U32 | null

    if is_info is set, this refers to the contact profile that should be opened when the info message is tapped.

    isBot: boolean

    True if the message was sent by a bot.

    isEdited: boolean
    isForwarded: boolean
    isInfo: boolean
    isSetupmessage: boolean
    originalMsgId: T.U32 | null
    overrideSenderName: string | null
    parentId: T.U32 | null
    quote: MessageQuote | null
    reactions: Reactions | null
    receivedTimestamp: I64
    savedMessageId: T.U32 | null
    sender: Contact
    setupCodeBegin: string | null
    showPadlock: boolean
    sortTimestamp: I64
    state: T.U32
    subject: string
    systemMessageType: SystemMessageType

    when is_info is true this describes what type of system message it is

    text: string
    timestamp: I64
    vcardContact: VcardContact | null
    videochatType: T.U32 | null
    videochatUrl: string | null
    viewType: Viewtype
    webxdcHref: string | null
    webxdcInfo: WebxdcMessageInfo | null