Preparing search index...
The search index is not available
matrix-js-sdk
matrix-js-sdk
<internal>
IVerificationChannel
Interface IVerificationChannel
interface
IVerificationChannel
{
deviceId
?:
string
;
receiveStartFromOtherDevices
?:
boolean
;
request
?:
VerificationRequest
<
IVerificationChannel
>
;
roomId
?:
string
;
transactionId
?:
string
;
userId
?:
string
;
canCreateRequest
(
type
)
:
boolean
;
completeContent
(
type
,
content
)
:
Record
<
string
,
any
>
;
completedContentFromEvent
(
event
)
:
Record
<
string
,
any
>
;
getTimestamp
(
event
)
:
number
;
handleEvent
(
event
,
request
,
isLiveEvent
)
:
Promise
<
void
>
;
send
(
type
,
uncompletedContent
)
:
Promise
<
void
>
;
sendCompleted
(
type
,
content
)
:
Promise
<
void
>
;
}
Implemented by
InRoomChannel
ToDeviceChannel
Index
Properties
device
Id?
receive
Start
From
Other
Devices?
request?
room
Id?
transaction
Id?
user
Id?
Methods
can
Create
Request
complete
Content
completed
Content
From
Event
get
Timestamp
handle
Event
send
send
Completed
Properties
Optional
Readonly
device
Id
device
Id
?:
string
Optional
Readonly
receive
Start
From
Other
Devices
receive
Start
From
Other
Devices
?:
boolean
Optional
request
request
?:
VerificationRequest
<
IVerificationChannel
>
Optional
Readonly
room
Id
room
Id
?:
string
Optional
Readonly
transaction
Id
transaction
Id
?:
string
Optional
Readonly
user
Id
user
Id
?:
string
Methods
can
Create
Request
can
Create
Request
(
type
)
:
boolean
Parameters
type
:
string
Returns
boolean
complete
Content
complete
Content
(
type
,
content
)
:
Record
<
string
,
any
>
Parameters
type
:
string
content
:
Record
<
string
,
any
>
Returns
Record
<
string
,
any
>
completed
Content
From
Event
completed
Content
From
Event
(
event
)
:
Record
<
string
,
any
>
Parameters
event
:
MatrixEvent
Returns
Record
<
string
,
any
>
get
Timestamp
get
Timestamp
(
event
)
:
number
Parameters
event
:
MatrixEvent
Returns
number
handle
Event
handle
Event
(
event
,
request
,
isLiveEvent
)
:
Promise
<
void
>
Parameters
event
:
MatrixEvent
request
:
VerificationRequest
<
IVerificationChannel
>
isLiveEvent
:
boolean
Returns
Promise
<
void
>
send
send
(
type
,
uncompletedContent
)
:
Promise
<
void
>
Parameters
type
:
string
uncompletedContent
:
Record
<
string
,
any
>
Returns
Promise
<
void
>
send
Completed
send
Completed
(
type
,
content
)
:
Promise
<
void
>
Parameters
type
:
string
content
:
Record
<
string
,
any
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
device
Id
receive
Start
From
Other
Devices
request
room
Id
transaction
Id
user
Id
can
Create
Request
complete
Content
completed
Content
From
Event
get
Timestamp
handle
Event
send
send
Completed
matrix-js-sdk
Loading...
Generated using
TypeDoc