streamtg/example-config.yaml

14 lines
678 B
YAML
Raw Normal View History

2021-01-16 03:33:53 +00:00
telegram:
api_id: 0
api_hash: https://my.telegram.org
bot_token: https://t.me/BotFather
2021-03-04 12:16:07 +00:00
# If authorized tokens and hmac does not exist, no authorization is required
2021-01-16 03:33:53 +00:00
authorized_tokens:
- DIi4aXHn440PTPXJE1yVyIoU2L4bLGiyjC1Fd7usKAMZYWVcp5p0P792G4YlbNnIcWCLypXbUFJkVzKqhh0AkJYSWqJbsAy8TjA
- RCywhzEkwqWmDjsqhBdNMwO1cQNi72SWsvAKZxdoeFylbioqKCZjEKyjgDXkYn6xeMQLj4dDq6QoonVAU1b1MDyOUX9CvT5W4MP
2021-03-04 12:16:07 +00:00
hmac:
- key: QgTz0hoawBdIMUEULxMa0QXHOPjBujO5Vl3Liao87H0687JPDbd6ixB08vWWZOqXpOKv7kcDb1QGkkYeAirlrnvzkC7ZYwN63lR
digest: sha512
- key: ni1KHr52uvpO1tEBFXIYylha2CTfnTafY2b3qE0V7qNMj5eYtSMN0VGnuJHoFxDLSe2lUebyH3d2zA9q5IDfAs9qYWQ27mFV099
digest: sha256