Skip to content

Integration: Develop Telegram Bot Interactive Authentication Flow #424

Description

@EDOHWARES

Description

Streamline Telegram notification configurations using an interactive bot onboarding flow.

Current Problem

Configuring Telegram alerts requires users to search for, retrieve, and input bot tokens and chat IDs manually.

Proposed Solution

Create a Telegram bot pairing service that links user sessions to Telegram chats automatically via a dynamic code.

Technical Tasks

  • Set up a Telegram bot client loop handling updates and pairing codes
  • Build backend endpoints generating short-lived pairing tokens
  • Implement chat mapping to connect chats to corresponding organization documents
  • Design alert formatting rules for transaction notifications

Acceptance Criteria

  • Users generate a code on the UI, send it to the Telegram bot, and connect instantly
  • Event notifications are sent to the verified chat group or user conversation
  • Chat details can be managed or disconnected from the settings page

Testing Requirements

  • Run local bot instance and verify chat pairing sequences

Metadata

  • Priority: Medium
  • Difficulty: Medium

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions