From ce939bb90749f4adef556f903239378d06769f23 Mon Sep 17 00:00:00 2001 From: Uladzislau Hramyka Date: Sat, 29 Aug 2026 15:30:44 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75432=20[teleg?= =?UTF-8?q?ram-web-app]=20add=20support=20for=20Bot=20API=2010.1=20by=20@S?= =?UTF-8?q?econdThundeR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/telegram-web-app/index.d.ts | 5 +++++ types/telegram-web-app/package.json | 2 +- types/telegram-web-app/telegram-web-app-tests.ts | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/types/telegram-web-app/index.d.ts b/types/telegram-web-app/index.d.ts index 1905ee2f0e67b6..52f51ffd0992e4 100644 --- a/types/telegram-web-app/index.d.ts +++ b/types/telegram-web-app/index.d.ts @@ -1353,6 +1353,11 @@ export interface WebAppInitData { * messages via the answerWebAppQuery method. */ query_id?: string; + /** + * A unique identifier for the chat join request query, required for + * processing the query via the method {@link https://core.telegram.org/bots/api#answerchatjoinrequestquery|answerChatJoinRequestQuery}. + */ + chat_join_request_query_id?: string; /** An object containing data about the current user. */ user?: WebAppUser; /** diff --git a/types/telegram-web-app/package.json b/types/telegram-web-app/package.json index 1f7c5245d3ab4d..3cb3169b1d2b6e 100644 --- a/types/telegram-web-app/package.json +++ b/types/telegram-web-app/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/telegram-web-app", - "version": "9.6.9999", + "version": "10.1.9999", "nonNpm": "conflict", "nonNpmDescription": "telegram-web-app", "projects": ["https://telegram.org/js/telegram-web-app.js"], diff --git a/types/telegram-web-app/telegram-web-app-tests.ts b/types/telegram-web-app/telegram-web-app-tests.ts index 1c4342f598d454..e03733dc1aa9a0 100644 --- a/types/telegram-web-app/telegram-web-app-tests.ts +++ b/types/telegram-web-app/telegram-web-app-tests.ts @@ -142,3 +142,5 @@ app.SecondaryButton.setParams({ app.requestChat("req_id", (success) => { success; // $ExpectType boolean }); + +app.initDataUnsafe.chat_join_request_query_id; // $ExpectType string | undefined From 1cafb92e1b267ac0c99ac7919e67011219efdbc4 Mon Sep 17 00:00:00 2001 From: Keerthan Poojary Date: Sun, 30 Aug 2026 02:37:09 +0530 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75457=20[n3]?= =?UTF-8?q?=20add=20getRulesFromDataset=20top-level=20function=20export=20?= =?UTF-8?q?by=20@Thundercloud12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/n3/index.d.ts | 1 + types/n3/n3-tests.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/types/n3/index.d.ts b/types/n3/index.d.ts index 1170d1a67b3902..9b2c10dfbd4eaa 100644 --- a/types/n3/index.d.ts +++ b/types/n3/index.d.ts @@ -395,3 +395,4 @@ export namespace Util { export function termToId(term: Term): string; export function termFromId(id: string, factory?: RDF.DataFactory): Term; +export function getRulesFromDataset(dataset: RDF.DatasetCore): Rule[]; diff --git a/types/n3/n3-tests.ts b/types/n3/n3-tests.ts index 9778b20b31b90d..6cf4a92ef52c60 100644 --- a/types/n3/n3-tests.ts +++ b/types/n3/n3-tests.ts @@ -633,5 +633,10 @@ function test_term_from_id_optional_factory() { const t1: N3.Term = N3.termFromId("http://example.org/"); } +function test_get_rules_from_dataset() { + const store = new N3.Store(); + const rules: N3.Rule[] = N3.getRulesFromDataset(store); +} + export const namedNode: ReturnType = N3.DataFactory.namedNode("hello world"); export const df: RDF.DataFactory = N3.DataFactory;