2021-03-24 22:49:07 +01:00
{
2021-02-22 13:21:58 +01:00
"name" : "Matrix-Telegram bridge" ,
"id" : "mautrix_telegram" ,
2021-03-24 22:49:07 +01:00
"packaging_format" : 1 ,
"description" : {
2021-09-05 14:24:10 +02:00
"en" : "Telegram puppeting bridge for Matrix/Synapse" ,
"fr" : "Passerelle Telegram pour Matrix/Synapse"
2021-03-24 22:49:07 +01:00
} ,
2021-12-04 16:29:51 +01:00
"version" : "0.10.2~ynh3" ,
2021-09-13 20:26:32 +02:00
"url" : "https://docs.mau.fi/bridges/python/telegram/index.html" ,
"upstream" : {
"license" : "free" ,
"website" : "https://docs.mau.fi/bridges/python/telegram/index.html" ,
"admindoc" : "https://github.com/YunoHost-Apps/mautrix_telegram_ynh" ,
"userdoc" : "https://docs.mau.fi/bridges/python/telegram/management-commands.html" ,
"code" : "https://github.com/mautrix/telegram"
} ,
2021-03-24 22:49:07 +01:00
"license" : "AGPL-3.0-or-later" ,
"maintainer" : {
2021-12-03 09:35:20 +01:00
"name" : "" ,
"email" : "" ,
2021-02-22 13:21:58 +01:00
"url" : "https://github.com/YunoHost-Apps/mautrix_telegram_ynh"
2021-03-24 22:49:07 +01:00
} ,
"requirements" : {
2021-09-05 14:24:10 +02:00
"yunohost" : ">= 4.2.4"
2021-03-24 22:49:07 +01:00
} ,
"multi_instance" : true ,
"services" : [
"postgresql"
] ,
"arguments" : {
"install" : [
{
"name" : "synapsenumber" ,
"type" : "string" ,
"ask" : {
2021-02-22 13:21:58 +01:00
"en" : "Choose the local synapse instance number to communicate with mautrix_telegram" ,
"fr" : "Choisissez le numéro de l'instance synapse qui doit communiquer avec mautrix_telegram"
2021-03-24 22:49:07 +01:00
} ,
"example" : "2 (for instance synapse__2)" ,
"help" : {
"en" : "If you installed synapse only once time, then leave default value 1." ,
"fr" : "Si vous n'avez installé qu'une fois synapse, gardez la valeur par défaut 1."
} ,
"default" : "1"
} ,
{
"name" : "botname" ,
"type" : "string" ,
"ask" : {
2021-02-22 13:21:58 +01:00
"en" : "Choose a local synapse user name for the Telegram bot" ,
"fr" : "Choisissez un nom d'utilisateur synapse local pour le robot Telegram"
2021-03-24 22:49:07 +01:00
} ,
2021-02-22 13:21:58 +01:00
"example" : "telegrambot" ,
2021-03-24 22:49:07 +01:00
"help" : {
2021-02-22 13:21:58 +01:00
"en" : "A system user will be created. Invite @telegrambot:localsynapse.servername from an authorized Matrix account to start bridging. Give the matrix server_name, not the full domain/url." ,
"fr" : "Un utilisateur système sera créé. Inviter @telegrambot:localsynapse.servername depuis un compte Matrix autorisé pour démarrer une passerelle. Donner le nom du serveur matrix, pas le domaine/url complet."
2021-03-24 22:49:07 +01:00
} ,
2021-02-22 13:21:58 +01:00
"default" : "telegrambot"
2021-03-24 22:49:07 +01:00
} ,
{
"name" : "encryption" ,
"type" : "boolean" ,
"ask" : {
2021-09-05 14:24:10 +02:00
"en" : "Enable end-to-bridge encryption?" ,
2021-09-05 17:04:01 +02:00
"fr" : "Activer le chiffrement entre Synapse et le bridge ?"
2021-03-24 22:49:07 +01:00
} ,
"help" : {
"en" : "Only activate if you know the prerequisites and constraints related to e2b." ,
"fr" : "N'activer que si vous connaissez les prérequis et constraintes liées à e2b."
} ,
"default" : false
2021-09-17 17:53:12 +02:00
} ,
2021-03-24 22:49:07 +01:00
{
"name" : "botadmin" ,
"type" : "string" ,
"ask" : {
2021-02-22 13:21:58 +01:00
"en" : "Choose the Matrix account administrator of the Telegram bot; admin permission" ,
"fr" : "Choisissez le compte Matrix administrateur du robot Telegram"
2021-03-24 22:49:07 +01:00
} ,
"example" : "@johndoe:localsynapse.servername or @johndoe:matrix.org" ,
"help" : {
2021-02-22 13:21:58 +01:00
"en" : "The Telegram bot administrator does not need to be a local synapse account." ,
"fr" : "Le compte administrateur du robot Telegram peut ne pas être un compte local synapse."
2021-03-24 22:49:07 +01:00
} ,
2021-02-22 13:21:58 +01:00
"default" : ""
2021-03-24 22:49:07 +01:00
} ,
{
"name" : "botusers" ,
"type" : "string" ,
"ask" : {
2021-02-22 13:21:58 +01:00
"en" : "Choose Matrix user(s) authorized to bridge with the Telegram bot; puppeting permission" ,
"fr" : "Choisissez le/les compte(s) Matrix autorisés à utiliser le robot Telegram"
2021-03-24 22:49:07 +01:00
} ,
"example" : "local or @johndoe:server.name or server.name or *" ,
"default" : "local" ,
"help" : {
"en" : "All local synapse users (local), a remote or local user (@johndoe:server.name), a remote server (matrix.org), or all remote/local servers (*) can be authorized. Give the matrix server_name, not the full domain/url." ,
"fr" : "On peut autoriser tous les comptes synapse locaux (local), un compte local ou distant (@johndoe:server.name), un serveur distant (matrix.org), ou tous les serveurs remote/local (*). Donner le nom du serveur matrix, pas le domaine/url complet."
}
2021-02-22 13:21:58 +01:00
} ,
{
"name" : "apiid" ,
"type" : "string" ,
"ask" : {
"en" : "Telegram API keys (https://my.telegram.org/apps): ID" ,
"fr" : "TODO"
} ,
2021-09-09 11:33:12 +02:00
"example" : "1234567" ,
2021-02-22 13:21:58 +01:00
"default" : "" ,
"help" : {
"en" : "Get your own API keys at https://my.telegram.org/apps" ,
2021-09-05 17:04:01 +02:00
"fr" : "Obtenez vos propres clés API sur https://my.telegram.org/apps"
2021-02-22 13:21:58 +01:00
}
} ,
{
"name" : "apihash" ,
"type" : "string" ,
"ask" : {
"en" : "Telegram API keys (https://my.telegram.org/apps): Hash" ,
2021-09-05 17:04:01 +02:00
"fr" : "Clés API Telegram (https://my.telegram.org/apps) : Hash"
2021-02-22 13:21:58 +01:00
} ,
"example" : "tjyd5yge35lbodk1xwzw2jstp90k55qz" ,
"default" : "" ,
"help" : {
"en" : "Get your own API keys at https://my.telegram.org/apps" ,
"fr" : "TODO"
}
} ,
{
"name" : "bottoken" ,
"type" : "string" ,
"ask" : {
"en" : "Telegram bot token (optional)" ,
2021-09-05 17:04:01 +02:00
"fr" : "Jeton de bot de Telegram (facultatif) "
2021-02-22 13:21:58 +01:00
} ,
"example" : "disabled" ,
"default" : "disabled" ,
"help" : {
"en" : "Create your own telegram bot." ,
2021-09-05 17:04:01 +02:00
"fr" : "Créez votre propre bot de Telegram."
2021-02-22 13:21:58 +01:00
}
2021-03-24 22:49:07 +01:00
}
]
}
}