Interface NotificationTypeNewMessage

Contains detailed information about a notification. Subtype of NotificationType.

interface NotificationTypeNewMessage {
    @type: "notificationTypeNewMessage";
    message: Message;
    show_preview?: boolean;
}

Properties

@type: "notificationTypeNewMessage"
message: Message

The message.

show_preview?: boolean

True, if message content must be displayed in notifications.