messaging-api-slack
Advanced tools
Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.6
@@ -58,4 +58,4 @@ import { AxiosInstance } from 'axios'; | ||
constructor(accessTokenOrConfig: string | ClientConfig); | ||
readonly axios: AxiosInstance; | ||
readonly accessToken: string; | ||
get axios(): AxiosInstance; | ||
get accessToken(): string; | ||
callMethod(method: AvailableMethod, inputBody?: Record<string, any>): Promise<OAuthAPIResponse>; | ||
@@ -113,3 +113,3 @@ /** | ||
blocks?: Block[] | string; | ||
}, options?: PostEphemeralOptions): Promise<OAuthAPIResponse>; | ||
} | string, options?: PostEphemeralOptions): Promise<OAuthAPIResponse>; | ||
/** | ||
@@ -116,0 +116,0 @@ * Gets information about a user. |
@@ -13,3 +13,3 @@ import { AxiosInstance } from 'axios'; | ||
constructor(urlOrConfig: URL | ClientConfig); | ||
readonly axios: AxiosInstance; | ||
get axios(): AxiosInstance; | ||
sendRawBody(body: Record<string, any>): Promise<SendMessageSuccessResponse>; | ||
@@ -16,0 +16,0 @@ sendText(text: string): Promise<SendMessageSuccessResponse>; |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0-alpha.6", | ||
"main": "dist/index.js", | ||
@@ -32,3 +32,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "3ba04ffaa1a5c9c7a2aedbe21242663adec99166" | ||
"gitHead": "7e2f8be9698b03e5b16a58e6b6ff5c094d514e62" | ||
} |
@@ -346,7 +346,9 @@ import querystring from 'querystring'; | ||
user: string, | ||
inputMessage: { | ||
text?: string; | ||
attachments?: Attachment[] | string; | ||
blocks?: Block[] | string; | ||
}, | ||
inputMessage: | ||
| { | ||
text?: string; | ||
attachments?: Attachment[] | string; | ||
blocks?: Block[] | string; | ||
} | ||
| string, | ||
options: PostEphemeralOptions = {} | ||
@@ -353,0 +355,0 @@ ): Promise<OAuthAPIResponse> { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
250926
3857