бэк несколько медиа

This commit is contained in:
Artem Tsyrulnikov
2026-01-22 20:31:10 +03:00
parent cf38b2b661
commit 912b543f75
17 changed files with 483 additions and 131 deletions

View File

@@ -143,6 +143,12 @@ func (b *Bot) SetState(s State, mode RenderMode) {
s.Enter(b, mode)
}
func (b *Bot) MarkHandled() {
if b.exec != nil {
b.exec.handled = true
}
}
func isChannelChat(chatType string) bool {
return chatType == "channel" || chatType == "supergroup"
}