Constructors

Methods

  • Parameters

    • __namedParameters: {
          auth: string;
          data:
              | {
                  buttons: {
                      emojiUnicodeOrId: null | string;
                      title: string;
                      url: null | string;
                  }[];
                  content: null | string;
                  embed: null | {
                      author: null | string;
                      authorIcon: null | string;
                      color: null | string;
                      description: string;
                      fields: {
                          inline: null | boolean;
                          name: string;
                          value: null | string;
                      }[];
                      footer: null | string;
                      footerIcon: null | string;
                      image: null | string;
                      thumbnail: null | string;
                      title: null | string;
                      url: null | string;
                  };
                  type:
                      | "clip"
                      | "vod"
                      | "kickLive"
                      | "kickOffline"
                      | "twitchLive"
                      | "twitchOffline"
                      | "rumbleLive"
                      | "rumbleOffline"
                      | "tiktokLive"
                      | "tiktokOffline"
                      | "tiktokVideo"
                      | "youtubeLive"
                      | "youtubeVideo";
                  webhook: null | {
                      avatarUrl: null | string;
                      enabled: null | boolean;
                      username: null | string;
                  };
              }
              | {
                  buttons: {
                      emojiUnicodeOrId: null | string;
                      title: string;
                      url: null | string;
                  }[];
                  content: null | string;
                  embed: null | {
                      author: null | string;
                      authorIcon: null | string;
                      color: null | string;
                      description: string;
                      fields: {
                          inline: null | boolean;
                          name: string;
                          value: null | string;
                      }[];
                      footer: null | string;
                      footerIcon: null | string;
                      image: null | string;
                      thumbnail: null | string;
                      title: null | string;
                      url: null | string;
                  };
                  type:
                      | "clip"
                      | "vod"
                      | "kickLive"
                      | "kickOffline"
                      | "twitchLive"
                      | "twitchOffline"
                      | "rumbleLive"
                      | "rumbleOffline"
                      | "tiktokLive"
                      | "tiktokOffline"
                      | "tiktokVideo"
                      | "youtubeLive"
                      | "youtubeVideo";
                  webhook: null | {
                      avatarUrl: null | string;
                      enabled: null | boolean;
                      username: null | string;
                  };
              }
              | {
                  buttons: {
                      emojiUnicodeOrId: null | string;
                      title: string;
                      url: null | string;
                  }[];
                  content: null | string;
                  embed: null | {
                      author: null | string;
                      authorIcon: null | string;
                      color: null | string;
                      description: string;
                      fields: {
                          inline: null | boolean;
                          name: string;
                          value: null | string;
                      }[];
                      footer: null | string;
                      footerIcon: null | string;
                      image: null | string;
                      thumbnail: null | string;
                      title: null | string;
                      url: null | string;
                  };
                  type:
                      | "clip"
                      | "vod"
                      | "kickLive"
                      | "kickOffline"
                      | "twitchLive"
                      | "twitchOffline"
                      | "rumbleLive"
                      | "rumbleOffline"
                      | "tiktokLive"
                      | "tiktokOffline"
                      | "tiktokVideo"
                      | "youtubeLive"
                      | "youtubeVideo";
                  webhook: null | {
                      avatarUrl: null | string;
                      enabled: null | boolean;
                      username: null | string;
                  };
              }
              | {
                  buttons: {
                      emojiUnicodeOrId: null | string;
                      title: string;
                      url: null | string;
                  }[];
                  content: null | string;
                  embed: null | {
                      author: null | string;
                      authorIcon: null | string;
                      color: null | string;
                      description: string;
                      fields: {
                          inline: null | boolean;
                          name: string;
                          value: null | string;
                      }[];
                      footer: null | string;
                      footerIcon: null | string;
                      image: null | string;
                      thumbnail: null | string;
                      title: null | string;
                      url: null | string;
                  };
                  type:
                      | "clip"
                      | "vod"
                      | "kickLive"
                      | "kickOffline"
                      | "twitchLive"
                      | "twitchOffline"
                      | "rumbleLive"
                      | "rumbleOffline"
                      | "tiktokLive"
                      | "tiktokOffline"
                      | "tiktokVideo"
                      | "youtubeLive"
                      | "youtubeVideo";
                  webhook: null | {
                      avatarUrl: null | string;
                      enabled: null | boolean;
                      username: null | string;
                  };
              }
              | {
                  buttons: {
                      emojiUnicodeOrId: null | string;
                      title: string;
                      url: null | string;
                  }[];
                  content: null | string;
                  embed: null | {
                      author: null | string;
                      authorIcon: null | string;
                      color: null | string;
                      description: string;
                      fields: {
                          inline: null | boolean;
                          name: string;
                          value: null | string;
                      }[];
                      footer: null | string;
                      footerIcon: null | string;
                      image: null | string;
                      thumbnail: null | string;
                      title: null | string;
                      url: null | string;
                  };
                  type:
                      | "clip"
                      | "vod"
                      | "kickLive"
                      | "kickOffline"
                      | "twitchLive"
                      | "twitchOffline"
                      | "rumbleLive"
                      | "rumbleOffline"
                      | "tiktokLive"
                      | "tiktokOffline"
                      | "tiktokVideo"
                      | "youtubeLive"
                      | "youtubeVideo";
                  webhook: null | {
                      avatarUrl: null | string;
                      enabled: null | boolean;
                      username: null | string;
                  };
              };
          guildId: string;
          platform: never;
          rumbleType?: RumbleType;
          streamer: string;
          subTypeOrId: StreamerMessageTypeEnum;
          type: "customMessages";
      }
      • auth: string
      • data:
            | {
                buttons: {
                    emojiUnicodeOrId: null | string;
                    title: string;
                    url: null | string;
                }[];
                content: null | string;
                embed: null | {
                    author: null | string;
                    authorIcon: null | string;
                    color: null | string;
                    description: string;
                    fields: {
                        inline: null | boolean;
                        name: string;
                        value: null | string;
                    }[];
                    footer: null | string;
                    footerIcon: null | string;
                    image: null | string;
                    thumbnail: null | string;
                    title: null | string;
                    url: null | string;
                };
                type:
                    | "clip"
                    | "vod"
                    | "kickLive"
                    | "kickOffline"
                    | "twitchLive"
                    | "twitchOffline"
                    | "rumbleLive"
                    | "rumbleOffline"
                    | "tiktokLive"
                    | "tiktokOffline"
                    | "tiktokVideo"
                    | "youtubeLive"
                    | "youtubeVideo";
                webhook: null | {
                    avatarUrl: null | string;
                    enabled: null | boolean;
                    username: null | string;
                };
            }
            | {
                buttons: {
                    emojiUnicodeOrId: null | string;
                    title: string;
                    url: null | string;
                }[];
                content: null | string;
                embed: null | {
                    author: null | string;
                    authorIcon: null | string;
                    color: null | string;
                    description: string;
                    fields: {
                        inline: null | boolean;
                        name: string;
                        value: null | string;
                    }[];
                    footer: null | string;
                    footerIcon: null | string;
                    image: null | string;
                    thumbnail: null | string;
                    title: null | string;
                    url: null | string;
                };
                type:
                    | "clip"
                    | "vod"
                    | "kickLive"
                    | "kickOffline"
                    | "twitchLive"
                    | "twitchOffline"
                    | "rumbleLive"
                    | "rumbleOffline"
                    | "tiktokLive"
                    | "tiktokOffline"
                    | "tiktokVideo"
                    | "youtubeLive"
                    | "youtubeVideo";
                webhook: null | {
                    avatarUrl: null | string;
                    enabled: null | boolean;
                    username: null | string;
                };
            }
            | {
                buttons: {
                    emojiUnicodeOrId: null | string;
                    title: string;
                    url: null | string;
                }[];
                content: null | string;
                embed: null | {
                    author: null | string;
                    authorIcon: null | string;
                    color: null | string;
                    description: string;
                    fields: {
                        inline: null | boolean;
                        name: string;
                        value: null | string;
                    }[];
                    footer: null | string;
                    footerIcon: null | string;
                    image: null | string;
                    thumbnail: null | string;
                    title: null | string;
                    url: null | string;
                };
                type:
                    | "clip"
                    | "vod"
                    | "kickLive"
                    | "kickOffline"
                    | "twitchLive"
                    | "twitchOffline"
                    | "rumbleLive"
                    | "rumbleOffline"
                    | "tiktokLive"
                    | "tiktokOffline"
                    | "tiktokVideo"
                    | "youtubeLive"
                    | "youtubeVideo";
                webhook: null | {
                    avatarUrl: null | string;
                    enabled: null | boolean;
                    username: null | string;
                };
            }
            | {
                buttons: {
                    emojiUnicodeOrId: null | string;
                    title: string;
                    url: null | string;
                }[];
                content: null | string;
                embed: null | {
                    author: null | string;
                    authorIcon: null | string;
                    color: null | string;
                    description: string;
                    fields: {
                        inline: null | boolean;
                        name: string;
                        value: null | string;
                    }[];
                    footer: null | string;
                    footerIcon: null | string;
                    image: null | string;
                    thumbnail: null | string;
                    title: null | string;
                    url: null | string;
                };
                type:
                    | "clip"
                    | "vod"
                    | "kickLive"
                    | "kickOffline"
                    | "twitchLive"
                    | "twitchOffline"
                    | "rumbleLive"
                    | "rumbleOffline"
                    | "tiktokLive"
                    | "tiktokOffline"
                    | "tiktokVideo"
                    | "youtubeLive"
                    | "youtubeVideo";
                webhook: null | {
                    avatarUrl: null | string;
                    enabled: null | boolean;
                    username: null | string;
                };
            }
            | {
                buttons: {
                    emojiUnicodeOrId: null | string;
                    title: string;
                    url: null | string;
                }[];
                content: null | string;
                embed: null | {
                    author: null | string;
                    authorIcon: null | string;
                    color: null | string;
                    description: string;
                    fields: {
                        inline: null | boolean;
                        name: string;
                        value: null | string;
                    }[];
                    footer: null | string;
                    footerIcon: null | string;
                    image: null | string;
                    thumbnail: null | string;
                    title: null | string;
                    url: null | string;
                };
                type:
                    | "clip"
                    | "vod"
                    | "kickLive"
                    | "kickOffline"
                    | "twitchLive"
                    | "twitchOffline"
                    | "rumbleLive"
                    | "rumbleOffline"
                    | "tiktokLive"
                    | "tiktokOffline"
                    | "tiktokVideo"
                    | "youtubeLive"
                    | "youtubeVideo";
                webhook: null | {
                    avatarUrl: null | string;
                    enabled: null | boolean;
                    username: null | string;
                };
            }
      • guildId: string
      • platform: never
      • OptionalrumbleType?: RumbleType
      • streamer: string
      • subTypeOrId: StreamerMessageTypeEnum
      • type: "customMessages"

    Returns Promise<WebResponse<string>>

  • Type Parameters

    • T extends boolean
    • P extends
          | "kick"
          | "twitch"
          | "rumble"
          | "tiktok"
          | "youtube"

    Parameters

    • __namedParameters: {
          auth: string;
          guildId: string;
          platform: P;
          shortView: T;
      }
      • auth: string
      • guildId: string
      • platform: P
      • shortView: T

    Returns Promise<WebResponse<Platformstreamers<T, P>>>

  • Parameters

    • __namedParameters: {
          auth: string;
          guildId: string;
          platform: never;
          rumbleType?: RumbleType;
          streamer: string;
          subType?: SubType;
      }
      • auth: string
      • guildId: string
      • platform: never
      • OptionalrumbleType?: RumbleType
      • streamer: string
      • OptionalsubType?: SubType

    Returns Promise<WebResponse<string>>