async pin(duration) {
        return await this.client.pupPage.evaluate(async (msgId, duration) => {
            return await window.WWebJS.pinUnpinMsgAction(msgId, 1, duration);
        }, this.id._serialized, duration);
    }
Pins the message (group admins can pin messages of all group members)
@param {number} duration The duration in seconds the message will be pinned in a chat
@returns {Promise<boolean>} Returns true if the operation completed successfully, false otherwise