From d7660e9368dbaa061f6c1f925454aa1933c42fa6 Mon Sep 17 00:00:00 2001 From: KnorpelSenf Date: Tue, 2 Apr 2024 00:13:22 +0200 Subject: [PATCH] doc: fix ref links --- src/context.ts | 2 +- src/core/api.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/context.ts b/src/context.ts index 84d6493b..28ecb891 100644 --- a/src/context.ts +++ b/src/context.ts @@ -1402,7 +1402,7 @@ export class Context implements RenamedUpdate { * @param other Optional remaining parameters, confer the official reference below * @param signal Optional `AbortSignal` to cancel the request * - * **Official reference:** https://core.telegram.org/bots/api#senddice + * **Official reference:** https://core.telegram.org/bots/api#setmessagereaction */ react( reaction: MaybeArray, diff --git a/src/core/api.ts b/src/core/api.ts index 15b0a587..c7670e47 100644 --- a/src/core/api.ts +++ b/src/core/api.ts @@ -849,6 +849,8 @@ export class Api { * * @param business_connection_id Unique identifier of the business connection * @param signal Optional `AbortSignal` to cancel the request + * + * **Official reference:** https://core.telegram.org/bots/api#getbusinessconnection */ getBusinessConnection( business_connection_id: string, @@ -2221,6 +2223,8 @@ export class Api { * @param old_sticker File identifier of the replaced sticker * @param sticker An object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set remains unchanged.:x * @param signal Optional `AbortSignal` to cancel the request + * + * **Official reference:** https://core.telegram.org/bots/api#replacestickerinset */ replaceStickerInSet( user_id: number,