feat: added doc

This commit is contained in:
h.carnot 2022-03-18 11:42:38 +01:00
parent 77347a44ff
commit b47a5f8dff
1 changed files with 2 additions and 0 deletions

View File

@ -583,6 +583,8 @@ class Event extends MatrixEvent {
/// room list you may find [withSenderNamePrefix] useful. Set [hideReply] to
/// crop all lines starting with '>'. With [plaintextBody] it'll use the
/// plaintextBody instead of the normal body.
/// [removeMarkdown] allow to remove the markdown formating from the event body.
/// Usefull form message preview or notifications text.
String getLocalizedBody(MatrixLocalizations i18n,
{bool withSenderNamePrefix = false,
bool hideReply = false,