TIMSetMsgExtensionsChangedCallback

Introduction

Set message extensions changed callback

Parameter details

Parameter name Parameter type Required Description
params TIMSetMsgExtensionsChangedCallbackParam yes Param of setting message extensions changed callback

Returned template

void

Return value details

This function has no return value

Code example

TIMSetMsgExtensionsChangedCallback: () => {
    let param: TIMSetMsgExtensionsChangedCallbackParam = {
        callback: (...args) => {
            const [message_id, message_extension_array, user_data] = args
            // console.log(message_id,message_extension_array,user_data);
        }
    }
    return timRenderInstance.TIMSetMsgExtensionsChangedCallback(param);
}

results matching ""

    No results matching ""