MessagingTopicResponse interface

表示来自旧版 Messaging.sendToTopic() 方法的服务器响应的接口。

如需查看代码示例和详细文档,请参阅发送到主题

签名

export interface MessagingTopicResponse 

属性

属性 类型 说明
消息 ID 数字 成功收到的请求(FCM 将尝试将其传送到所有已订阅设备)的消息 ID。

MessagingTopicResponse.messageId

成功收到的请求(FCM 将尝试将其传送到所有已订阅设备)的消息 ID。

签名

messageId: number;