Module sanitize
ruma_
events
0.30.1
Module sanitize
Module Items
Functions
In ruma_
events::
room::
message
Modules
sanitize
Structs
AudioInfo
AudioMessageEventContent
EmoteMessageEventContent
FileInfo
FileMessageEventContent
FormattedBody
ImageMessageEventContent
KeyVerificationRequestEventContent
LocationInfo
LocationMessageEventContent
NoticeMessageEventContent
RedactedRoomMessageEventContent
ReplacementMetadata
RoomMessageEventContent
RoomMessageEventContentWithoutRelation
ServerNoticeMessageEventContent
TextMessageEventContent
UnstableAmplitude
UnstableAudioDetailsContentBlock
UnstableVoiceContentBlock
VideoInfo
VideoMessageEventContent
Enums
AddMentions
ForwardThread
LimitType
MessageFormat
MessageType
Relation
RelationWithoutReplacement
ReplyWithinThread
ServerNoticeType
Functions
deserialize_relation
Type Aliases
OriginalRoomMessageEvent
OriginalSyncRoomMessageEvent
RedactedRoomMessageEvent
RedactedSyncRoomMessageEvent
RoomMessageEvent
SyncRoomMessageEvent
ruma_events
::
room
::
message
Module
sanitize
Copy item path
Settings
Help
Summary
Source
Expand description
Convenience methods and types to sanitize text messages.
Functions
§
remove_
plain_
reply_
fallback
Remove the
rich reply
fallback of the given plain text string.