trixnity-core
3.7.0-beta3
common
trixnity-core
/
net.folivo.trixnity.core.model.events.m.room
/
RoomMessageEventContent
/
VerificationRequestMessageEventContent
Verification
Request
Message
Event
Content
@
Serializable
data
class
VerificationRequestMessageEventContent
(
val
fromDevice
:
String
,
val
to
:
UserId
,
val
methods
:
Set
<
VerificationMethod
>
,
val
body
:
String
=
"Attempting verification request (m.key.verification.request). Apparently your client doesn't support this."
,
val
relatesTo
:
RelatesTo
?
=
null
)
:
RoomMessageEventContent
,
VerificationRequest
Members
Members & Extensions
Constructors
Verification
Request
Message
Event
Content
Link copied to clipboard
constructor
(
fromDevice
:
String
,
to
:
UserId
,
methods
:
Set
<
VerificationMethod
>
,
body
:
String
=
"Attempting verification request (m.key.verification.request). Apparently your client doesn't support this."
,
relatesTo
:
RelatesTo
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
body
Link copied to clipboard
open
override
val
body
:
String
body
Without
Fallback
Link copied to clipboard
val
RoomMessageEventContent
.
bodyWithoutFallback
:
String
from
Device
Link copied to clipboard
open
override
val
fromDevice
:
String
methods
Link copied to clipboard
open
override
val
methods
:
Set
<
VerificationMethod
>
relates
To
Link copied to clipboard
open
override
val
relatesTo
:
RelatesTo
?
=
null
to
Link copied to clipboard
val
to
:
UserId
type
Link copied to clipboard
val
type
:
String
Functions
get
Formatted
Body
Link copied to clipboard
fun
RoomMessageEventContent
.
getFormattedBody
(
)
:
String
?