Wrapper around dc_msg_t*

Constructors

Properties

dc_msg: NativeMessage

Accessors

Methods

  • Force the message to be sent in plain text.

    This API is for bots, there is no need to expose it in the UI.

    Returns void

  • Parameters

    • approxCharacters: number

    Returns string

  • Parameters

    • width: number
    • height: number
    • duration: number

    Returns void

  • Returns {
        chatId: number;
        dimensions: {
            height: number;
            width: number;
        };
        downloadState: MessageDownloadState;
        duration: number;
        file: string;
        fromId: number;
        hasDeviatingTimestamp: any;
        hasHTML: boolean;
        hasLocation: boolean;
        id: number;
        isForwarded: boolean;
        isInfo: boolean;
        isSetupmessage: boolean;
        overrideSenderName: string;
        parentId: undefined | number;
        quotedMessageId: null | number;
        quotedText: string;
        receivedTimestamp: number;
        showPadlock: boolean;
        sortTimestamp: number;
        state: any;
        subject: string;
        summary: {
            state: number;
            text1: string;
            text1Meaning: string;
            text2: string;
            timestamp: number;
        };
        text: string;
        timestamp: number;
        videochatType: number;
        videochatUrl: string;
        viewType: any;
        webxdcInfo: null | WebxdcInfo;
    }

    • chatId: number
    • dimensions: {
          height: number;
          width: number;
      }
      • height: number
      • width: number
    • downloadState: MessageDownloadState
    • duration: number
    • file: string
    • fromId: number
    • hasDeviatingTimestamp: any
    • hasHTML: boolean
    • hasLocation: boolean
    • id: number
    • isForwarded: boolean
    • isInfo: boolean
    • isSetupmessage: boolean
    • overrideSenderName: string
    • parentId: undefined | number
    • quotedMessageId: null | number
    • quotedText: string
    • receivedTimestamp: number
    • showPadlock: boolean
    • sortTimestamp: number
    • state: any
    • subject: string
    • summary: {
          state: number;
          text1: string;
          text1Meaning: string;
          text2: string;
          timestamp: number;
      }
      • state: number
      • text1: string
      • text1Meaning: string
      • text2: string
      • timestamp: number
    • text: string
    • timestamp: number
    • videochatType: number
    • videochatUrl: string
    • viewType: any
    • webxdcInfo: null | WebxdcInfo

Generated using TypeDoc