Room
iOS Room APIs
Create a chat room
Parameters:
MXRoomCreationParameters
Name | Type | Description | Required |
---|---|---|---|
| string | type of login (the type of the above example is | true |
| string | updated time returned by the | true |
| json | login information | true |
| string | device id, not needed for new device | false |
Join a chat room
Parameters:
Name | Type | Description | Required |
---|---|---|---|
| string | room id | true |
Invite user to the room
Parameters:
Name | Type | Description | Required |
---|---|---|---|
| string | room id | true |
| string | user id | true |
Leave the room
Parameters:
Name | Type | Description | Required |
---|---|---|---|
| string | room id | true |
Remove a user from the room
Parameters:
Name | Type | Description | Required |
---|---|---|---|
| string | room id | true |
| String | user id | true |
| String | reason string | true |
Modify room name
Parameters:
Name | Type | Description | Required |
---|---|---|---|
| string | room id | true |
| string | new room name | true |
Get room name
Parameters:
Name | Type | Description | Required |
---|---|---|---|
| string | room id | true |
Last updated