RongIMLib View Markdown
    Preparing search index...

    Interface IPushConfig

    推送配置

    interface IPushConfig {
        pushTitle: string;
        pushContent: string;
        pushData: string;
        iOSConfig?: IiOSPushConfig;
        androidConfig?: IAndroidPushConfig;
        harmonyOSConfig?: IHarmonyOSPushConfig;
        disablePushTitle?: boolean;
        forceShowDetailContent?: boolean;
        templateId?: string;
    }
    Index
    pushTitle: string

    推送标题 如果没有设置,会使用下面的默认标题显示规则 默认标题显示规则: 内置消息:单聊通知标题显示为发送者名称,群聊通知标题显示为群名称。 自定义消息:默认不显示标题。

    pushContent: string

    推送内容 优先使用 IPushConfig.pushContent, 如果没有,则使用发送消息的 pushContent 参数

    pushData: string

    远程推送附加信息 优先使用 IPushConfig.pushData, 如果没有,则使用发送消息的 pushContent 参数

    iOSConfig?: IiOSPushConfig

    iOSConfig

    androidConfig?: IAndroidPushConfig

    androidConfig

    harmonyOSConfig?: IHarmonyOSPushConfig

    HarmonyOS

    5.10.3

    disablePushTitle?: boolean

    是否显示推送标题。仅针对 iOS 平台有效

    forceShowDetailContent?: boolean

    是否强制推送

    templateId?: string

    推送模板 id