-
-
Notifications
You must be signed in to change notification settings - Fork 347
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For example, I'm always using the set_title, but it seems that I cannot use the set_title with channels so I have to use /import or modify the database manually:
RSS-to-Telegram-Bot/src/command/inner/customization.py
Lines 249 to 270 in 60f30a1
| None | |
| if is_user | |
| else ( | |
| Button.switch_inline( | |
| f"{i18n[lang]['set_custom_title_button']}", | |
| query=( | |
| f'/set_title {sub_or_user.user_id} {sub_or_user.id} ' | |
| if tail | |
| else f'/set_title {sub_or_user.id} ' | |
| ), | |
| same_peer=True, | |
| ), | |
| Button.switch_inline( | |
| f"{i18n[lang]['set_custom_hashtags_button']}", | |
| query=( | |
| f'/set_hashtags {sub_or_user.user_id} {sub_or_user.id} ' | |
| if tail | |
| else f'/set_hashtags {sub_or_user.id} ' | |
| ), | |
| same_peer=True, | |
| ), | |
| ), |
With enhanced /sub:
/sub --title "the title1" url1 url2 --title "the title3" --send_mode -1 url3We can parse it as cli arguments.
What do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request