Veetaha / snowpity

Apache License 2.0
6 stars 1 forks source link

Subscribe to artists for updates #29

Open Veetaha opened 1 year ago

Veetaha commented 1 year ago

The bot should allow telegram users to subscribe to new art posts from various artists. For example, they could use the command /subscribe {artist_profile_url}. Where the {artist_profile_url} is the URL address of the artist profile web page. The URL also defines what media platform we should subscribe to (e.g. if it is a twitter URL, then it's twitter).

The chat where the user sends /subscribe will be the chat where the bot will send new posts from the artist. To subscribe a telegram channel or some other chat, a command /subscribe may include the @Tag name of the channel or t.me URL of the channel separated by a whitespace e.g.:

# Susbcribe @ChannelOrChatName to updates from the Twitter of artist_username
/subscribe @ChannelOrChatName https://twitter.com/aritst_username

# Susbcribe the chat where this command was sent (for example, even PM chat with bot) to updates from the Twitter of artist_username
/subscribe https://twitter.com/aritst_username

Permission to subscribe group chats and channels will be granted only to the owners of those chats or channels (not sure we need admins, but we may add that if demand arises).

The MVP of the feature will need to support Twitter, but we may add other platforms as well in the future.