mezon-js 2.9.9 → 2.9.10
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +1 -1
- package/dist/api.gen.d.ts +1 -1
- package/dist/mezon-js.cjs.js +1 -1
- package/dist/mezon-js.esm.mjs +1 -1
- package/package.json +1 -1
package/api.gen.ts
CHANGED
@@ -3469,8 +3469,8 @@ export class MezonApi {
|
|
3469
3469
|
|
3470
3470
|
/** List a channel's message history. */
|
3471
3471
|
listChannelMessages(bearerToken: string,
|
3472
|
+
clanId:string,
|
3472
3473
|
channelId:string,
|
3473
|
-
clanId?:string,
|
3474
3474
|
messageId?:string,
|
3475
3475
|
limit?:number,
|
3476
3476
|
direction?:number,
|
package/dist/api.gen.d.ts
CHANGED
@@ -1152,7 +1152,7 @@ export declare class MezonApi {
|
|
1152
1152
|
/** List channel apps. */
|
1153
1153
|
listChannelApps(bearerToken: string, clanId?: string, options?: any): Promise<ApiListChannelAppsResponse>;
|
1154
1154
|
/** List a channel's message history. */
|
1155
|
-
listChannelMessages(bearerToken: string,
|
1155
|
+
listChannelMessages(bearerToken: string, clanId: string, channelId: string, messageId?: string, limit?: number, direction?: number, options?: any): Promise<ApiChannelMessageList>;
|
1156
1156
|
/** Add users to a channel. */
|
1157
1157
|
addChannelUsers(bearerToken: string, channelId: string, userIds?: Array<string>, options?: any): Promise<any>;
|
1158
1158
|
/** List all attachment that are part of a channel. */
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -1973,7 +1973,7 @@ var MezonApi = class {
|
|
1973
1973
|
]);
|
1974
1974
|
}
|
1975
1975
|
/** List a channel's message history. */
|
1976
|
-
listChannelMessages(bearerToken,
|
1976
|
+
listChannelMessages(bearerToken, clanId, channelId, messageId, limit, direction, options = {}) {
|
1977
1977
|
if (channelId === null || channelId === void 0) {
|
1978
1978
|
throw new Error("'channelId' is a required parameter but is null or undefined.");
|
1979
1979
|
}
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -1944,7 +1944,7 @@ var MezonApi = class {
|
|
1944
1944
|
]);
|
1945
1945
|
}
|
1946
1946
|
/** List a channel's message history. */
|
1947
|
-
listChannelMessages(bearerToken,
|
1947
|
+
listChannelMessages(bearerToken, clanId, channelId, messageId, limit, direction, options = {}) {
|
1948
1948
|
if (channelId === null || channelId === void 0) {
|
1949
1949
|
throw new Error("'channelId' is a required parameter but is null or undefined.");
|
1950
1950
|
}
|