diff --git a/data/core.telegram.org/passport/example.html b/data/core.telegram.org/passport/example.html index 051fd3ab21..2e5873a3bf 100644 --- a/data/core.telegram.org/passport/example.html +++ b/data/core.telegram.org/passport/example.html @@ -530,7 +530,7 @@ function updateForm() { form.ad_mode[i].disabled = (ad_sel_cnt <= 1); } } -var authOptions = {"bot_id":543260180,"public_key":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv6m1zBF8lZOCqcxf8hnj\nkvHwuWdU8s4rBWaxKXH\/vDDUklcCS5uhSnmjhxWca9suubaG3lW4HxlCilkeJPVf\njimg5Q8ZqWrR3OoOihEpcG9iJZTOEpsEk7VtEiabgacBG3Quv9JslTrDe95Fn801\nt9d21HXwgMrHeHpWDOn31Dr+woEH+kwySUWa6L\/ZbnGwSNP7eeDTE7Amz1RMDk3t\n8EWGq58u0IQatPcEH09aUQlKzk6MIiALkZ9ILBKCBk6d2WCokKnsdBctovNbxwSx\nhP1qst1r+Yc8iPBZozsDC0ZsC5jXCkcODI3OC0tkNtYzN2XKalW5R0DjDRUDmGhT\nzQIDAQAB\n-----END PUBLIC KEY-----\n","nonce":"b8adbf4f1f722b5a676b204a7d232d97_84639513_a32524ed906ce8ee6d","callback_url":"https:\/\/core.telegram.org\/passport\/example?passport_ssid=b8adbf4f1f722b5a676b204a7d232d97_84639513_029f08c4c8ef336120"}; +var authOptions = {"bot_id":543260180,"public_key":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv6m1zBF8lZOCqcxf8hnj\nkvHwuWdU8s4rBWaxKXH\/vDDUklcCS5uhSnmjhxWca9suubaG3lW4HxlCilkeJPVf\njimg5Q8ZqWrR3OoOihEpcG9iJZTOEpsEk7VtEiabgacBG3Quv9JslTrDe95Fn801\nt9d21HXwgMrHeHpWDOn31Dr+woEH+kwySUWa6L\/ZbnGwSNP7eeDTE7Amz1RMDk3t\n8EWGq58u0IQatPcEH09aUQlKzk6MIiALkZ9ILBKCBk6d2WCokKnsdBctovNbxwSx\nhP1qst1r+Yc8iPBZozsDC0ZsC5jXCkcODI3OC0tkNtYzN2XKalW5R0DjDRUDmGhT\nzQIDAQAB\n-----END PUBLIC KEY-----\n","nonce":"f228fb896b45c50d9684166e896728d4_59554889_6fc061c5448ed1f9da","callback_url":"https:\/\/core.telegram.org\/passport\/example?passport_ssid=f228fb896b45c50d9684166e896728d4_59554889_140c5f6ea9f8e79bec"}; function initPassportData(data) { window.passportData = data; } diff --git a/data/core.telegram.org/widgets/post.html b/data/core.telegram.org/widgets/post.html new file mode 100644 index 0000000000..1909302066 --- /dev/null +++ b/data/core.telegram.org/widgets/post.html @@ -0,0 +1,240 @@ + + +
+ +You can embed messages from public groups and channels anywhere. Here’s what an embed of a Telegram message looks like when included on a web page:
+To get the HTML-code for embedding a message, just open its t.me link (e.g., t.me/durov/43) in a web browser and click < > EMBED:
+ + +You can choose more options using the form below.
+ +