Interface NotificationsSendMessageParams

interface NotificationsSendMessageParams {
    fragment?: string;
    group_id?: number;
    message: string;
    random_id?: number;
    sending_mode?: "delayed" | "delayed_push" | "immediately" | "without_push";
    user_ids?: number | number[];
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

fragment?: string
group_id?: number
message: string
random_id?: number
sending_mode?: "delayed" | "delayed_push" | "immediately" | "without_push"

Type of sending (delivering) notifications: 'immediately' - push and bell notifications will be delivered as soon as possible, 'delayed' - push and bell notifications will be delivered in the most comfortable time for the user, 'delayed_push' - only push notifications will be delivered in the most comfortable time, while the bell notifications will be delivered as soon as possible

user_ids?: number | number[]

Generated using TypeDoc