diff --git a/send.go b/send.go index 3954e1538..15e9e03f5 100644 --- a/send.go +++ b/send.go @@ -1033,6 +1033,8 @@ func getEditAttribute(msg *waE2E.Message) types.EditAttribute { return types.EditAttributeSenderRevoke case msg.KeepInChatMessage != nil && msg.KeepInChatMessage.GetKey().GetFromMe() && msg.KeepInChatMessage.GetKeepType() == waE2E.KeepType_UNDO_KEEP_FOR_ALL: return types.EditAttributeSenderRevoke + case msg.PinInChatMessage != nil: + return types.EditAttributePinInChat } return types.EditAttributeEmpty }