inviteInGroupParam

Introduction

invitation parameters

Parameter introduction

group_id

  • Parameter type : string
  • Parameter description : The group where the invitation is initiated

json_invitee_array

  • Parameter type : string[]
  • Parameter description : list of invitees, and the invitees must already be in the group, otherwise the invitation will be invalid

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)

data

  • Parameter type : string
  • Parameter description : custom field

timeout

  • Parameter type : string
  • 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 ""