trixnity-client
3.0.0-beta1
trixnity-client
/
net.folivo.trixnity.client.room.message
Package-level
declarations
Types
Functions
Types
Message
Builder
Link copied to clipboard
class
MessageBuilder
(
val
isEncryptedRoom
:
Boolean
,
val
mediaService
:
MediaService
)
Functions
audio
Link copied to clipboard
suspend
fun
MessageBuilder
.
audio
(
body
:
String
,
audio
:
ByteFlow
,
type
:
ContentType
,
size
:
Int
?
=
null
,
duration
:
Int
?
=
null
)
emote
Link copied to clipboard
fun
MessageBuilder
.
emote
(
body
:
String
,
format
:
String
?
=
null
,
formattedBody
:
String
?
=
null
)
file
Link copied to clipboard
suspend
fun
MessageBuilder
.
file
(
body
:
String
,
file
:
ByteFlow
,
type
:
ContentType
,
size
:
Int
?
=
null
,
name
:
String
?
=
null
)
image
Link copied to clipboard
suspend
fun
MessageBuilder
.
image
(
body
:
String
,
image
:
ByteFlow
,
type
:
ContentType
,
size
:
Int
?
=
null
,
height
:
Int
?
=
null
,
width
:
Int
?
=
null
)
notice
Link copied to clipboard
fun
MessageBuilder
.
notice
(
body
:
String
,
format
:
String
?
=
null
,
formattedBody
:
String
?
=
null
)
text
Link copied to clipboard
fun
MessageBuilder
.
text
(
body
:
String
,
format
:
String
?
=
null
,
formattedBody
:
String
?
=
null
)
video
Link copied to clipboard
suspend
fun
MessageBuilder
.
video
(
body
:
String
,
video
:
ByteFlow
,
type
:
ContentType
,
size
:
Int
?
=
null
,
height
:
Int
?
=
null
,
width
:
Int
?
=
null
,
duration
:
Int
?
=
null
)