Merge pull request #84 from Neur0toxine/ignore-group-message-types
ignore pinned message
This commit is contained in:
commit
aa0316d13f
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ func shouldMessageBeIgnored(m *tgbotapi.Message) bool {
|
|||
m.LeftChatMember != nil ||
|
||||
m.NewChatTitle != "" ||
|
||||
m.NewChatPhoto != nil ||
|
||||
m.PinnedMessage != nil ||
|
||||
m.DeleteChatPhoto ||
|
||||
m.GroupChatCreated {
|
||||
return true
|
||||
|
|
Loading…
Add table
Reference in a new issue