MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / tryAckReaction

Method tryAckReaction

src/runtime/adapters/telegram.ts:219–231  ·  view source on GitHub ↗

* React to the incoming message to show the bot has started processing it.

(
    chatId: number,
    messageId: number,
  )

Source from the content-addressed store, hash-verified

217 * React to the incoming message to show the bot has started processing it.
218 */
219 private async tryAckReaction(
220 chatId: number,
221 messageId: number,
222 ): Promise<void> {
223 try {
224 await this.bot?.setMessageReaction(chatId, messageId, {
225 reaction: [ACK_REACTION],
226 is_big: false,
227 });
228 } catch (err) {
229 console.error("[Telegram] Failed to add ack reaction:", err);
230 }
231 }
232
233 /**
234 * Split text into chunks respecting Telegram's message length limit.

Callers 1

handleTelegramMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected