mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-10-01 00:32:05 +00:00
is_group hand-rolled what Chat::is_group/is_supergroup/is_private already answer (verified in teloxide-core's chat.rs), and the private check was a ChatKind pattern match. The unit test that exercised the helper asserted teloxide's semantics; the channel case it guarded (a channel must not get the group hint) is now asserted through handle_message instead, next to the group case.