MCPcopy Create free account
hub / github.com/chatmail/core / is_bot

Method is_bot

src/message.rs:935–937  ·  view source on GitHub ↗

Returns true if message is auto-generated.

(&self)

Source from the content-addressed store, hash-verified

933
934 /// Returns true if message is auto-generated.
935 pub fn is_bot(&self) -> bool {
936 self.param.get_bool(Param::Bot).unwrap_or_default()
937 }
938
939 /// Return the ephemeral timer duration for a message.
940 pub fn get_ephemeral_timer(&self) -> EphemeralTimer {

Callers

nothing calls this directly

Calls 1

get_boolMethod · 0.80

Tested by

no test coverage detected