@japofc/baileys - v2.4.7
    Preparing search index...

    Variable createGiveawayConst

    createGiveaway: (
        options?: {
            canJoin?: (user: string, chat: string) => true | string;
            keyword?: string;
            now?: () => number;
            random?: () => number;
        },
    ) => Giveaway

    Type Declaration

      • (
            options?: {
                canJoin?: (user: string, chat: string) => true | string;
                keyword?: string;
                now?: () => number;
                random?: () => number;
            },
        ): Giveaway
      • Parameters

        • Optionaloptions: {
              canJoin?: (user: string, chat: string) => true | string;
              keyword?: string;
              now?: () => number;
              random?: () => number;
          }

        Returns Giveaway