Room

Create Room

Task<CreateRoomResponse> CreateRoomAsync(string name, string[]? invitedUserIds)

Input params:RoomCreateOptions

Name
Type
Description
Required

name

string

room name

true

invitedUserIds

string array

array of user ids to invite

false

Output params:

Name
Type
Description
Required

CreateRoomResponse.RoomId

string

id of the new room

true

Invite User

Task InviteUserAsync(string roomId, string userId)

Input params:

Name
Type
Description
Required

roomId

string

room id

true

userId

string

user id

true

Output params: none

Kick User

Task KickUserAsync(string roomId, string userId)

Input params:

Name
Type
Description
Required

roomId

string

room id

true

userId

string

user id

true

Return values: none

Join Room

Task<JoinRoomResponse> JoinRoomAsync(string roomId)

Input params:

Name
Type
Description
Required

roomId

string

room id

true

Output params:

Name
Type
Description
Required

JoinRoomResponse.RoomId

string

room id

true

Leave Room

Task LeaveRoomAsync(string roomId)

Input params:

Name
Type
Description
Required

roomId

string

room id

true

Output params: none

Get Room Memebers

Task<RoomMembersResponse> GetRoomMembersAsync(string roomId)

Input params:

Name
Type
Description
Required

roomId

string

room id

true

Output params:

Name
Type
Description
Required

RoomMembersResponse.joined

array of MemberInfo

room members

true

MemberInfo:

Name
Type
Description
Required

MemberInfo.DisplayName

string

member display name

true

MemberInfo.AvatarUrl

string

member avatar url

true

Last updated