Skip to content

Subscribe to Telegram event through config file #31

Description

@Lntnam

Short Description

At the moment Telegram task allows us to subscribe through command /sub.
It'd be better if we can pre-set the subscription through config file, say telegram.json.

Possible solution

Modify the task construction/initialization to parse the config, and perform necessary subscription.

How it would help others

People are interested in only a certain set of events, and that's unlikely to change. Hence having to re-sub one by one every time restart the bot would be very troublesome.

Config file would be the starting point, then we can still subscribe for more as per usual.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions