aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-09-29 19:43:57 +0200
committerGravatar GitHub <noreply@github.com> 2024-09-29 19:43:57 +0200
commit292f34a5aaebb1def9d3267fcf5613670afa424c (patch)
treef799cdc7c9e0b0f5fa762b6fdbf254b319ae1332 /app/shares.php
parenta792c195d23390f4b23c95cca2071045915b0d5c (diff)
Added: Share via telegram app (#6838)
* add telegram as sharing service * Update 08_sharing_services.md
Diffstat (limited to 'app/shares.php')
-rw-r--r--app/shares.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/shares.php b/app/shares.php
index afbfbde54..da2707b30 100644
--- a/app/shares.php
+++ b/app/shares.php
@@ -197,6 +197,12 @@ return [
'form' => 'advanced',
'method' => 'GET',
],
+ 'telegram' => [
+ 'url' => 'https://t.me/share/url?url=~LINK~&text=~TITLE~',
+ 'transform' => ['rawurlencode'],
+ 'form' => 'simple',
+ 'method' => 'GET',
+ ],
'twitter' => [
'url' => 'https://twitter.com/share?url=~LINK~&amp;text=~TITLE~',
'transform' => ['rawurlencode'],