UNPKG

@slack/web-api

Version:

Official library for using the Slack Platform's Web API

101 lines 2.52 kB
import type { WebAPICallResult } from '../../WebClient'; export type UsersConversationsResponse = WebAPICallResult & { arg?: string; channels?: Channel[]; error?: string; needed?: string; ok?: boolean; provided?: string; response_metadata?: ResponseMetadata; warning?: string; }; export interface Channel { context_team_id?: string; conversation_host_id?: string; created?: number; creator?: string; enterprise_id?: string; id?: string; internal_team_ids?: string[]; is_archived?: boolean; is_channel?: boolean; is_ext_shared?: boolean; is_general?: boolean; is_global_shared?: boolean; is_group?: boolean; is_im?: boolean; is_moved?: number; is_mpim?: boolean; is_open?: boolean; is_org_default?: boolean; is_org_mandatory?: boolean; is_org_shared?: boolean; is_pending_ext_shared?: boolean; is_private?: boolean; is_shared?: boolean; is_user_deleted?: boolean; last_read?: string; name?: string; name_normalized?: string; parent_conversation?: string; pending_connected_team_ids?: string[]; pending_shared?: string[]; previous_names?: string[]; priority?: number; properties?: Properties; purpose?: Purpose; shared_team_ids?: string[]; topic?: Purpose; unlinked?: number; updated?: number; user?: string; } export interface Properties { canvas?: Canvas; has_slack_connect_invite_created?: boolean; huddles_restricted?: boolean; is_dormant?: boolean; meeting_notes?: MeetingNotes; posting_restricted_to?: PostingRestrictedTo; tabs?: Tab[]; tabz?: Tab[]; threads_restricted_to?: ThreadsRestrictedTo; use_case?: string; } export interface Canvas { file_id?: string; is_empty?: boolean; is_migrated?: boolean; quip_thread_id?: string; } export interface MeetingNotes { file_id?: string; } export interface PostingRestrictedTo { type?: string[]; user?: string[]; } export interface Tab { data?: Data; id?: string; is_disabled?: boolean; label?: string; type?: string; } export interface Data { file_id?: string; folder_bookmark_id?: string; shared_ts?: string; } export interface ThreadsRestrictedTo { type?: string[]; } export interface Purpose { creator?: string; last_set?: number; value?: string; } export interface ResponseMetadata { next_cursor?: string; } //# sourceMappingURL=UsersConversationsResponse.d.ts.map