Files
mautrix-telegram/pkg/connector/example-config.yaml
T
2024-07-16 18:50:15 -06:00

28 lines
1.1 KiB
YAML

# Get your own API keys at https://my.telegram.org/apps
app_id: 12345
app_hash: tjyd5yge35lbodk1xwzw2jstp90k55qz
# Whether to explicitly set the avatar and room name for private chat portal
# rooms.
set_private_chat_portal_meta: true
# Settings for converting animated stickers.
animated_sticker:
# Format to which animated stickers should be converted.
#
# disable - no conversion, send as-is (gzipped lottie)
# png - converts to non-animated png (fastest),
# gif - converts to animated gif
# webm - converts to webm video, requires ffmpeg executable with vp9 codec
# and webm container support
# webp - converts to animated webp, requires ffmpeg executable with webp
# codec/container support
target: gif
# Should video stickers be converted to the specified format as well?
convert_from_webm: false
# Arguments for converter. All converters take width and height.
args:
width: 256
height: 256
fps: 25 # only for webm, webp and gif (2, 5, 10, 20 or 25 recommended)