# api_id and api_hash can be obtained from https://my.telegram.org/apps # bot token can be obtained by talking to https://t.me/botfather telegram_api_id: 1234567 telegram_api_hash: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" telegram_bot_token: "1234567890:aaaaaaaaaaaaaaaaaaaaaa--aaaaaaaaaaa" # Creditials for the Matrix account to being used by the bot # Please use dedicated, freshly created one matrix_homeserver: "https://matrix.org" matrix_username: "@username:matrix.org" # Choose a login type for a bot, "password" or "access_token" matrix_login_type: "access_token" # If using "password", use this 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: "Matrix-Telegram-Bot" command_prefix: "!sb" matrix_bot_name: "Telegram stickers bot" log_level: INFO