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