1
0
mirror of synced 2024-11-22 04:26:01 +03:00

ignore pinned message

This commit is contained in:
Pavel 2020-03-05 14:50:02 +03:00
parent 249b940a9c
commit 8f77678682

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