mirror of
https://github.com/wah-su/stickerbridge.git
synced 2025-04-05 15:54:41 +00:00
change token usage instruction
This commit is contained in:
parent
de52ec22f2
commit
6c89c6959f
1 changed files with 9 additions and 3 deletions
|
@ -16,13 +16,19 @@ matrix_login_type: "access_token"
|
|||
matrix_password: "password"
|
||||
|
||||
# If using "access_token", use this
|
||||
# How to get access_token if using synapse: https://t2bot.io/docs/access_tokens/
|
||||
# How to get access_token if using MAS, refer to this github issue:
|
||||
# https://github.com/etkecc/synapse-admin/issues/38
|
||||
# but omit the '--yes-i-want-to-grant-synapse-admin-privileges' flag
|
||||
matrix_token: "syn/mct_XXXXXXXXXXXXXXXXXX"
|
||||
|
||||
# IF Using MAS then device ID can be set as any string value
|
||||
# IF Using Synapse then device ID can be get with the following:
|
||||
# How to get Device ID:
|
||||
# 1. Click the "Sessions" tab (left side of the dialog).
|
||||
# 2. Click on the current session.
|
||||
# 3. Copy "Session ID" string
|
||||
matrix_deviceid: "DeviceID"
|
||||
# How to get access_token: https://t2bot.io/docs/access_tokens/
|
||||
matrix_token: "syn/mct_XXXXXXXXXXXXXXXXXX"
|
||||
matrix_deviceid: "Matrix-Telegram-Bot"
|
||||
|
||||
command_prefix: "!sb"
|
||||
matrix_bot_name: "Telegram stickers bot"
|
||||
|
|
Loading…
Add table
Reference in a new issue