tgbridge icon indicating copy to clipboard operation
tgbridge copied to clipboard

Implement API

Open vanutp opened this issue 9 months ago • 2 comments

Feature description

Implement an API for the mod, so that other mods can hook into it.

  • API to use the TelegramBot object to run Bot API methods and register event handlers
  • API to register integrations

Feature use case

This will be useful for other mods/plugins that want to use the Telegram bot functionality. It would also allow chat plugins to easily add Telegram support

Additional details

No response

vanutp avatar Mar 19 '25 00:03 vanutp

Related: #26

vanutp avatar Apr 05 '25 03:04 vanutp

я не особо разбираюсь в котлине, но если бы было такое api, то буду готов помочь с совместимостью плагинов

DarkRouteS22 avatar Sep 23 '25 19:09 DarkRouteS22

Integrations api is mostly ready, a basic api to send messages to telegram is implemented in 7bc9e38cb80a0711f671fd804c1607eb9d71d67b, a full bot api will be provided in next releases :(

vanutp avatar Nov 30 '25 22:11 vanutp