бэк несколько медиа
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user