1 |
|
2 | import { Entity } from '../core/entity';
|
3 | import { DirectThreadBroadcastPhotoOptions, DirectThreadBroadcastPhotoStoryOptions, DirectThreadBroadcastReelOptions, DirectThreadBroadcastVideoOptions, DirectThreadBroadcastVideoStoryOptions, DirectThreadBroadcastVoiceOptions } from '../types';
|
4 | export declare class DirectThreadEntity extends Entity {
|
5 | threadId: string;
|
6 | userIds: string[];
|
7 | deleteItem(itemId: string | number): Promise<import("..").StatusResponse>;
|
8 | broadcastText(text: string, skipLinkCheck?: boolean): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
9 | broadcastReel(options: DirectThreadBroadcastReelOptions): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
10 | broadcastUserStory(options: DirectThreadBroadcastReelOptions): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
11 | broadcastProfile(id: number | string): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
12 | broadcastLink(link_text: string, link_urls: string[]): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
13 | broadcastPhoto(options: DirectThreadBroadcastPhotoOptions): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
14 | broadcastPost(mediaId: string): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
15 | broadcastVideo(options: DirectThreadBroadcastVideoOptions): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
16 | broadcastVoice(options: DirectThreadBroadcastVoiceOptions): Promise<import("..").DirectThreadRepositoryBroadcastResponseRootObject | import("..").DirectThreadRepositoryBroadcastResponsePayload>;
|
17 | broadcastStory(input: Buffer | DirectThreadBroadcastPhotoStoryOptions | DirectThreadBroadcastVideoStoryOptions): Promise<any>;
|
18 | updateTitle(title: string): Promise<import("..").DirectThreadRepositoryUpdateTitleResponseRootObject>;
|
19 | mute(): Promise<import("..").StatusResponse>;
|
20 | unmute(): Promise<import("..").StatusResponse>;
|
21 | hide(): Promise<import("..").StatusResponse>;
|
22 | leave(): Promise<import("..").StatusResponse>;
|
23 | addUser(userIds: string[] | number[]): Promise<import("..").DirectThreadRepositoryAddUserResponseRootObject>;
|
24 | markItemSeen(threadItemId: string): Promise<import("..").StatusResponse>;
|
25 | private broadcast;
|
26 | }
|