inviteParam

Introduction

invitation parameters

Parameter introduction

invitee

  • Parameter type : string
  • Parameter description : userID of the invitee

data

  • Parameter type : string
  • Parameter description : custom data

online_user_only

  • Parameter type : boolean
  • Parameter description : Whether only online users can receive invitations. If set to true, only online users can receive invitations, and the invite operation will not generate historical messages (the same applies to the subsequent cancel, accept, reject, and timeout operations of this invite). No historical messages will be generated)

json_offline_push_info

  • Parameter type : OfflinePushConfig
  • Parameter description : The title and sound carried when pushing offline, in which desc is a required field. The desc information will be displayed by default when pushing. For the definition of json key, please refer to [OfflinePushConfig]

timeout

  • Parameter type : number
  • Parameter description : timeout time, unit s, if set to 0, the SDK will not detect timeout and will not trigger the @ref TIMSignalingInvitationTimeoutCallback callback

user_data

  • Parameter type : string
  • Parameter description : User-defined data, ImSDK is only responsible for passing it back to the callback function cb without any processing (optional parameter)

results matching ""

    No results matching ""