Room
iOS Room APIs
Last updated
iOS Room APIs
Last updated
Input Parameters:
Name | Type | Description | Required |
---|---|---|---|
Output Parameters:
MXCreateRoomResponse
Name | Type | Description | Required |
---|---|---|---|
Input Parameters:
Output Parameters:
MXCreateRoomResponse
Parameters:
Parameters:
Parameters:
Parameters:
Parameters:
Parameters:
Input Parameters:
Output Parameters:
Input Parameters:
Output Parameters:
The methods below are deprecated. Please avoid using them.
Parameters:
MXRoomCreationParameters
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
Name | Type | Description | Required |
---|---|---|---|
name
NSString
the room name
false
visibility
NSString
the visibility of the room
false
roomAlias
NSString
the room alias on the node the room will be created
false
topic
NSString
the room topic
false
roomId
NSString
The allocated room id
true
parameters
NSString
MXRoomCreationParameters
true
roomId
NSString
The allocated room id
true
room_id
string
room id
true
room_id
string
room id
true
user_id
string
user id
true
room_id
string
room id
true
room_id
string
room id
true
user_id
String
user id
true
reason
String
reason string
true
room_id
string
room id
true
name
string
new room name
true
room_id
string
room id
true
userId
NSString
user id
true
roomId
NSString
room id
true
reason
NSString
reason of banning the user
false
success
block
A block object called when the operation succeeds
true
failure
block
A block object called when the operation fails.
true
userId
NSString
user id
true
roomId
NSString
room id
true
success
block
A block object called when the operation succeeds
true
failure
block
A block object called when the operation fails.
true
type
string
type of login (the type of the above example is m.login.did.identity
)
true
updated
string
updated time returned by the pre_login
true
identifier
json
login information
true
device_id
string
device id, not needed for new device
false