Skip to content

Tier 1: implement critical Bot API methods (setMyCommands, createInvoiceLink, refundStarPayment, batch message ops) #459

Description

@windkh

Tier 1 — Critical / high-value Bot API methods to add first-class support

From the V18 coverage analysis (#453). These are useful or critical AND not reachable via the sender node's generic (chatId, content, options) passthrough, so they need dedicated handling.

Method(s) Bot API Why critical/useful Why passthrough can't reach it
setMyCommands, getMyCommands, deleteMyCommands 4.7 / 5.3 Register the bot's command menu (scopes/languages). Most-requested gap; natural extension of the command node. First arg is commands, no chatId.
createInvoiceLink 6.1 Modern payments — shareable pay link instead of an in-chat invoice. Pairs with existing sendInvoice. 6 positional args, no chatId.
refundStarPayment 7.4 Compliance-critical for bots accepting Telegram Stars — without it the bot can't honor refund requests. (userId, chargeId) semantics.
forwardMessages, copyMessages, deleteMessages 7.0 Batch moderation/cleanup (bulk delete spam, bulk forward). forward/copyMessages are 4-arg.

Notes

  • Once the callApi escape hatch lands, all of these are technically callable; this issue is about first-class types + ergonomics + examples for the common ones.
  • setMyCommands is the clear priority — consider wiring it through the command node config.

Related: #453, #448.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions