@twurple/api
Version:
Interact with Twitch's API.
29 lines • 877 B
TypeScript
import { DataObject } from '@twurple/common';
import type { HelixFollowedChannelData } from '../../interfaces/endpoints/channel.external';
import type { HelixUser } from '../user/HelixUser';
/**
* Represents a broadcaster that a user follows.
*/
export declare class HelixFollowedChannel extends DataObject<HelixFollowedChannelData> {
/**
* The ID of the broadcaster.
*/
get broadcasterId(): string;
/**
* The name of the broadcaster.
*/
get broadcasterName(): string;
/**
* The display name of the broadcaster.
*/
get broadcasterDisplayName(): string;
/**
* Gets additional information about the broadcaster.
*/
getBroadcaster(): Promise<HelixUser>;
/**
* The date when the user followed the broadcaster.
*/
get followDate(): Date;
}
//# sourceMappingURL=HelixFollowedChannel.d.ts.map