soberhacker / obsidian-telegram-sync

Transfer messages and files from Telegram to Obsidian
GNU Affero General Public License v3.0
351 stars 30 forks source link

Send bot messages to Obsidian #299

Open acherkashin opened 2 months ago

acherkashin commented 2 months ago

Hi, thank you for this cool obsidian plugin. I was using telegram bot for Notion, and now trying to switch to obsidian and recreate my workflow there.

Feature request

I want to use this bot to add notes via Apple Shortcuts.

To achieve this, I need to be able to send messages to the bot via API bot.

I tried to send messages via sendMessage request

 curl -s -X POST "https://api.telegram.org/bot<MY_API_TOKEN>/sendMessage" \
    -d chat_id="chat_id" \
    -d text="message"
image

However, they do not appear in the obsidian.

Probably it would be possible to add some configuration to allow bot messages to appear in obsidian.

soberhacker commented 1 month ago

Hi, thank you for your appreciation!

Your request is duplicate of https://github.com/soberhacker/obsidian-telegram-sync/issues/184