mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-08-05 21:56:44 +08:00
feat: Default skip telegraph account
It will print out the token in local terminal by default. If Store_Token = True, it will store token in "token_key.json" View my lite ver and try at <https://github.com/alterxyz/tg_bot_collections_lite>
This commit is contained in:
14
README.md
14
README.md
@ -81,7 +81,19 @@ Note, currently its support dify Chatbot with instructions(System prompt) and di
|
||||
2. export COHERE_API_KEY=${the_key}
|
||||
3. use `cohere: ${message}` to ask
|
||||
|
||||
## Bot -> `Telegra.ph`
|
||||
## Function -> Telegraph
|
||||
|
||||
### Skip token (default)
|
||||
|
||||
You do not need to do anything.
|
||||
|
||||
But you may not be able to edit any generated post since you do not have the token.
|
||||
|
||||
### Store token (recommended)
|
||||
|
||||
Change "Store_Token" to "True" in "handlers/__init__.py" TelegraphAPI/_create_ph_account. It will store the token in "token_key.json".
|
||||
|
||||
### Get token manually from Telegram account
|
||||
|
||||
1. https://t.me/telegraph Create or login Telegraph account
|
||||
2. `Log in as ${Account} on this device`
|
||||
|
Reference in New Issue
Block a user