shady2k / logseq-inbox-telegram-plugin

MIT License
78 stars 5 forks source link

how to use? #1

Closed Lycheewe closed 2 years ago

Lycheewe commented 2 years ago

sir how to use this? added a telegram bot but nothing happened

shady2k commented 2 years ago

After you paste bot token you need to restart plugin.

Lycheewe commented 2 years ago

Should I just create a bot and invite it in my telegram group?

shady2k commented 2 years ago

Firstly, create a bot with BotFather, which is essentially a bot used to create other bots. The command you need is /newbot. After you choose title, BotFaher give you the token. Paste it into plugin settings and restart plugin. After that just open chat with your bot and type /start command. Then write any message, it will be added to your Logseq daily journal within 60 seconds. Hope it helps.

Lycheewe commented 2 years ago

It works, that's so cool man, good job!

Lycheewe commented 2 years ago

And one more question, could I set more than one bot? If so, what should I set in the configuration file?

shady2k commented 2 years ago

Describe your use case, please.

Lycheewe commented 2 years ago

For example, I want a bot as my #inbox to collect some articles and resources. And I want to create a bot to collect my random thoughts as #spark. That's my use cases.

shady2k commented 2 years ago

Now it's not possible, but I will think about it.

shady2k commented 2 years ago

@Lycheewe, please check latest release.