签名:
export interface BaseMessage
属性
属性 | 类型 | 说明 |
---|---|---|
Android | AndroidConfig | |
apns | ApnsConfig | |
数据 | { [键: 字符串]: 字符串;} | |
fcmOptions | FcmOptions | |
通知 | 通知 | |
webpush | WebpushConfig |
BaseMessage.android
签名:
android?: AndroidConfig;
BaseMessage.apns
签名:
apns?: ApnsConfig;
BaseMessage.data
签名:
data?: {
[key: string]: string;
};
BaseMessage.fcmOptions
签名:
fcmOptions?: FcmOptions;
BaseMessage.notification
签名:
notification?: Notification;
BaseMessage.webpush
签名:
webpush?: WebpushConfig;