From 200ddc06dc773ffc19bca6e055b8bded5d2aaa9c Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 28 May 2024 10:42:48 +0000 Subject: [PATCH] Update content of files --- .../api/obtaining_api_id.html | 23 +++++++++---------- data/web/webappcontent.telegram.org/cafe.html | 2 +- .../webappcontent.telegram.org/css/cafe.css | 1 + 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/data/web/corefork.telegram.org/api/obtaining_api_id.html b/data/web/corefork.telegram.org/api/obtaining_api_id.html index f9367cc22f..bb27e7c8b6 100644 --- a/data/web/corefork.telegram.org/api/obtaining_api_id.html +++ b/data/web/corefork.telegram.org/api/obtaining_api_id.html @@ -44,30 +44,29 @@

We welcome all developers to use our API and source code to create Telegram-like messaging applications on our platform free of charge.

-

In order to ensure consistency and security across the Telegram ecosystem, -all third-party client apps must comply with the API Terms of Service.

+

In order to ensure consistency and security across the Telegram ecosystem,
all third-party client apps must comply with the API Terms of Service.

-

Obtaining api_id

+

Obtaining api_id

In order to obtain an API id and develop your own application using the Telegram API you need to do the following:

We will be sending important developer notifications to the phone number that you use in this process, so please use an up-to-date number connected to your active Telegram account.

-

Using the api_id

+

Using the api_id

Before using the MTProto Telegram API, please note that all API client libraries are strictly monitored to prevent abuse.

If you use the Telegram API for flooding, spamming, faking subscriber and view counters of channels, you will be banned forever.

-

Due to excessive abuse of the Telegram API, all accounts that sign up or log in using unofficial Telegram API clients are automatically put under observation to avoid violations of the Terms of Service.

-

If you didn't violate the Terms of Service but your account does get banned after using the API, write to recover@telegram.org explaining what you intend to do with the API, asking to unban your account.
-Please note that emails are checked by a human, so automatically generated emails will be detected and banned.

-

Using Telegram's open source code

+

Due to excessive abuse of the Telegram API, all accounts that log in using unofficial Telegram API clients are automatically put under observation to avoid violations of the Terms of Service.

+

If you didn't violate the Terms of Service but your account does get banned after using the API, write to recover@telegram.org explaining what you intend to do with the API, asking to unban your account.
Please note that emails are checked by a human, so automatically generated emails will be detected and banned.

+

Using Telegram's open source code

Everyone is welcome to use our open source code. We have included a sample API id with the code. This API id is limited on the server side and is not suitable for apps released to end-users — using it for anything but testing purposes will result in the API_ID_PUBLISHED_FLOOD error for your users. It is necessary that you obtain your own API id before you publish your app.

Please remember to publish your code as well in order to comply with the GNU GPL licences.

-
+ + diff --git a/data/web/webappcontent.telegram.org/cafe.html b/data/web/webappcontent.telegram.org/cafe.html index 5f2ec1e6e0..2a7d37ce05 100644 --- a/data/web/webappcontent.telegram.org/cafe.html +++ b/data/web/webappcontent.telegram.org/cafe.html @@ -17,7 +17,7 @@ Telegram.WebApp.onEvent('themeChanged', setThemeClass); setThemeClass(); - +
diff --git a/data/web/webappcontent.telegram.org/css/cafe.css b/data/web/webappcontent.telegram.org/css/cafe.css index b7d9d4a60a..8fdfaf1253 100644 --- a/data/web/webappcontent.telegram.org/css/cafe.css +++ b/data/web/webappcontent.telegram.org/css/cafe.css @@ -288,6 +288,7 @@ button, right: 0; top: 0; transform: translateY(var(--tg-viewport-height, 100vh)); + z-index: 1; } .cafe-status { position: fixed;