Skip to content

Commit 7bcd64f

Browse files
d04030b4429d2b128168d1cadf2ccfa3f9743512
1 parent c2831b0 commit 7bcd64f

10 files changed

Lines changed: 20 additions & 14 deletions

esm/client/3_message_manager.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export declare class MessageManager implements UpdateProcessor<MessageManagerUpd
105105
transcribeVoice(chatId: ID, messageId: number): Promise<VoiceTranscription>;
106106
resolveMessageLink(link: string): Promise<Message>;
107107
static parseMessageLink(link: string): [ID, number] | null;
108+
openMiniApp(): Promise<void>;
108109
}
109110
export {};
110111
//# sourceMappingURL=3_message_manager.d.ts.map

esm/client/3_message_manager.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esm/client/3_message_manager.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,8 @@ export class MessageManager {
12341234
}
12351235
return [peer, id];
12361236
}
1237+
async openMiniApp() {
1238+
}
12371239
}
12381240
_a = MessageManager, _MessageManager_c = new WeakMap(), _MessageManager_LresolveFileId = new WeakMap(), _MessageManager_instances = new WeakSet(), _MessageManager_checkParams = function _MessageManager_checkParams(params) {
12391241
if (params && "replyMarkup" in params && params.replyMarkup !== undefined) {

esm/client/5_client.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
462462
* Send a document.
463463
*
464464
* @method ms
465-
* @param chatId The identifier of The identifier of a chat to send the document to.
465+
* @param chatId The identifier of a chat to send the document to.
466466
* @param document The document to send.
467467
* @returns The sent document.
468468
*/
@@ -687,7 +687,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
687687
* Retrieve multiple messages.
688688
*
689689
* @method ms
690-
* @param chatId The identifier of The identifier of a chat to retrieve the messages from.
690+
* @param chatId The identifier of a chat to retrieve the messages from.
691691
* @param messageIds The identifiers of the messages to retrieve.
692692
* @example ```ts
693693
* const message = await client.getMessages("@MTKruto", [210, 212]);
@@ -1328,7 +1328,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
13281328
*
13291329
* @method ch
13301330
* @param chatId The identifier of a channel.
1331-
* @param discussionChatId The identifier of The identifier of a chat to use as discussion for the channel.
1331+
* @param discussionChatId The identifier of a chat to use as discussion for the channel.
13321332
*/
13331333
setDiscussionChat(chatId: ID, discussionChatId: ID): Promise<void>;
13341334
/**

esm/client/5_client.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ export class Client extends Composer {
16351635
* Send a document.
16361636
*
16371637
* @method ms
1638-
* @param chatId The identifier of The identifier of a chat to send the document to.
1638+
* @param chatId The identifier of a chat to send the document to.
16391639
* @param document The document to send.
16401640
* @returns The sent document.
16411641
*/
@@ -1908,7 +1908,7 @@ export class Client extends Composer {
19081908
* Retrieve multiple messages.
19091909
*
19101910
* @method ms
1911-
* @param chatId The identifier of The identifier of a chat to retrieve the messages from.
1911+
* @param chatId The identifier of a chat to retrieve the messages from.
19121912
* @param messageIds The identifiers of the messages to retrieve.
19131913
* @example ```ts
19141914
* const message = await client.getMessages("@MTKruto", [210, 212]);
@@ -2719,7 +2719,7 @@ export class Client extends Composer {
27192719
*
27202720
* @method ch
27212721
* @param chatId The identifier of a channel.
2722-
* @param discussionChatId The identifier of The identifier of a chat to use as discussion for the channel.
2722+
* @param discussionChatId The identifier of a chat to use as discussion for the channel.
27232723
*/
27242724
async setDiscussionChat(chatId, discussionChatId) {
27252725
await __classPrivateFieldGet(this, _Client_chatManager, "f").setDiscussionChat(chatId, discussionChatId);

script/client/3_message_manager.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export declare class MessageManager implements UpdateProcessor<MessageManagerUpd
105105
transcribeVoice(chatId: ID, messageId: number): Promise<VoiceTranscription>;
106106
resolveMessageLink(link: string): Promise<Message>;
107107
static parseMessageLink(link: string): [ID, number] | null;
108+
openMiniApp(): Promise<void>;
108109
}
109110
export {};
110111
//# sourceMappingURL=3_message_manager.d.ts.map

0 commit comments

Comments
 (0)