ignore pinned message
This commit is contained in:
parent
249b940a9c
commit
8f77678682
@ -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…
Reference in New Issue
Block a user