diff --git a/crates/teloxide-core/src/types/chat_member.rs b/crates/teloxide-core/src/types/chat_member.rs index fc967436..735d3334 100644 --- a/crates/teloxide-core/src/types/chat_member.rs +++ b/crates/teloxide-core/src/types/chat_member.rs @@ -260,10 +260,14 @@ impl ChatMemberKind { } /// Returns `true` if the user is currently present in the chat. i.e. if the - /// user **hasn't** [left] or been [banned]. + /// user **hasn't** [left] or been [banned]. It returns `false` if the user + /// left the chat, but was [restricted]. + /// + /// /// /// [left]: ChatMemberKind::Left /// [banned]: ChatMemberKind::Banned + /// [restricted]: ChatMemberKind::Restricted #[must_use] pub fn is_present(&self) -> bool { let is_restricted_non_member =