pub fn text_reply_plain(reply: impl Into<String>, original_message: &MessageEvent) -> Self {
        let quoted = get_plain_quote_fallback(original_message);

        let body = format!("{}\n\n{}", quoted, reply.into());

        Self {
            relates_to: Some(Relation::Reply {
                in_reply_to: InReplyTo { event_id: original_message.event_id.clone() },
            }),
            ..Self::text_plain(body)
        }
    }
/// Creates a plain text reply to a message.
Creates a plain text reply to a message.
Creates a plain text reply to a message .
pub fn text_reply_plain(reply: impl Into<String>, original_message: &MessageEvent) -> Self {
        let quoted = get_plain_quote_fallback(original_message);
        let body = format!("{}\n\n{}", quoted, reply.into());
        Self {
            relates_to: Some(Relation::Reply {
                in_reply_to: InReplyTo { event_id: original_message.event_id.clone() },
            }),
            ..Self::text_plain(body)
        }
    }
pub fn text_reply_plain ( reply : impl Into < String > , original_message : & MessageEvent ) -> Self { let quoted = get_plain_quote_fallback ( original_message ) ; let body = format ! ( " \n \n " quoted reply into ( ) ) ; Self { relates_to : Some ( Relation :: Reply { in_reply_to : InReplyTo { event_id : original_message . event_id . clone ( ) } , } ) , .. Self :: text_plain ( body ) } }
Creates a plain text reply to a message.
Creates a plain text reply to a message .
reply
impl Into<String>
original_message
&MessageEvent