mezon-js 2.9.10 → 2.9.12
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/dist/socket.d.ts +3 -0
- package/package.json +1 -1
- package/socket.ts +3 -0
package/api.gen.ts
CHANGED
@@ -3472,8 +3472,8 @@ export class MezonApi {
|
|
3472
3472
|
clanId:string,
|
3473
3473
|
channelId:string,
|
3474
3474
|
messageId?:string,
|
3475
|
-
limit?:number,
|
3476
3475
|
direction?:number,
|
3476
|
+
limit?:number,
|
3477
3477
|
options: any = {}): Promise<ApiChannelMessageList> {
|
3478
3478
|
|
3479
3479
|
if (channelId === null || channelId === undefined) {
|
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, clanId: string, channelId: string, messageId?: string,
|
1155
|
+
listChannelMessages(bearerToken: string, clanId: string, channelId: string, messageId?: string, direction?: number, limit?: 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, clanId, channelId, messageId,
|
1976
|
+
listChannelMessages(bearerToken, clanId, channelId, messageId, direction, limit, 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, clanId, channelId, messageId,
|
1947
|
+
listChannelMessages(bearerToken, clanId, channelId, messageId, direction, limit, 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
|
}
|
package/dist/socket.d.ts
CHANGED
package/package.json
CHANGED