• Parameters

    Returns message is {
        appleCriticalAlertOptions: null | AppleCriticalAlertOptions;
        channelType: ChannelType;
        channelUrl: string;
        createdAt: number;
        customType: string;
        data: string;
        errorCode: number;
        extendedMessage: object;
        extendedMessagePayload?: Record<string, unknown>;
        forms: null | Form[];
        isOperatorMessage: boolean;
        mentionType: null | MentionType;
        mentionedMessageTemplate: string;
        mentionedUserIds: null | string[];
        mentionedUsers: null | User[];
        messageId: number;
        messageParams: null | FileMessageCreateParams | UserMessageCreateParams;
        messageSurvivalSeconds: number;
        messageType: MessageType;
        metaArrays: MessageMetaArray[];
        myFeedback: null | Feedback;
        myFeedbackStatus: FeedbackStatus;
        ogMetaData: null | OGMetaData;
        parentMessage: BaseMessage & FileMessage | BaseMessage & UserMessage;
        parentMessageId: number;
        reactions: Reaction[];
        replyToChannel: boolean;
        reqId: string;
        scheduledInfo: null | ScheduledInfo;
        sender: Sender;
        sendingStatus: SendingStatus;
        silent: boolean;
        suggestedReplies: null | string[];
        threadInfo: null | ThreadInfo;
        updatedAt: number;
        get isResendable(): boolean;
        applyParentMessage(parentMessage) => boolean;
        applyReactionEvent(reactionEvent) => void;
        applyThreadInfoUpdateEvent(threadInfoUpdateEvent) => boolean;
        deleteFeedback(feedbackId) => Promise<void>;
        getMetaArraysByKeys(keys) => MessageMetaArray[];
        getThreadedMessagesByTimestamp(ts, params) => Promise<{
            parentMessage: BaseMessage;
            threadedMessages: BaseMessage[];
        }>;
        hasForm() => this is AdminMessage;
        isAdminMessage() => this is AdminMessage;
        isEqual(message) => boolean;
        isFileMessage() => this is FileMessage;
        isIdentical(message) => boolean;
        isMultipleFilesMessage() => this is MultipleFilesMessage;
        isUserMessage() => this is UserMessage;
        markThreadAsRead() => Promise<void>;
        serialize() => object;
        setPushNotificationEnabled(pushEnabled) => Promise<void>;
        submitFeedback(data) => Promise<void>;
        submitForm(data) => Promise<void>;
        updateFeedback(data) => Promise<void>;
    }

Generated using TypeDoc