Skip to content

Commit f915d8d

Browse files
🤖 Merge PR DefinitelyTyped#74564 [telegram-web-app] correct msg_id parameter type for shareMessage method by @SecondThundeR
1 parent 51ccb0a commit f915d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎types/telegram-web-app/index.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ export interface WebApp {
500500
*
501501
* @since Bot API 8.0+
502502
*/
503-
shareMessage(msg_id: number, callback?: (success: boolean) => void): void;
503+
shareMessage(msg_id: string, callback?: (success: boolean) => void): void;
504504

505505
/**
506506
* A method that opens a dialog allowing the user to set the specified custom emoji as their status.

0 commit comments

Comments
 (0)