1
0
mirror of synced 2024-11-24 20:56:04 +03:00

Merge pull request #84 from Neur0toxine/ignore-group-message-types

ignore pinned message
This commit is contained in:
Alex Lushpai 2020-03-05 14:53:49 +03:00 committed by GitHub
commit aa0316d13f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,6 +150,7 @@ func shouldMessageBeIgnored(m *tgbotapi.Message) bool {
m.LeftChatMember != nil || m.LeftChatMember != nil ||
m.NewChatTitle != "" || m.NewChatTitle != "" ||
m.NewChatPhoto != nil || m.NewChatPhoto != nil ||
m.PinnedMessage != nil ||
m.DeleteChatPhoto || m.DeleteChatPhoto ||
m.GroupChatCreated { m.GroupChatCreated {
return true return true