diff --git a/data/web/corefork.telegram.org.html b/data/web/corefork.telegram.org.html index d67bcea4bf..6827d84b41 100644 --- a/data/web/corefork.telegram.org.html +++ b/data/web/corefork.telegram.org.html @@ -205,6 +205,8 @@ This allows the server to filter messages based on a text query, and even on the

Telegram allows translating chat messages, and Telegram Premium users may even enable real-time chat translation.

Native antispam system

Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.

+

Collectible usernames

+

Telegram users can make it easy for others to contact them or find their public groups and channels via usernames: clients can also assign multiple collectible usernames to accounts, supergroups and channels they own.

Web events

When interacting with HTML5 games and the websites of payment gateways, Telegram apps should expose the following JS APIs.

diff --git a/data/web/corefork.telegram.org/api.html b/data/web/corefork.telegram.org/api.html index d67bcea4bf..6827d84b41 100644 --- a/data/web/corefork.telegram.org/api.html +++ b/data/web/corefork.telegram.org/api.html @@ -205,6 +205,8 @@ This allows the server to filter messages based on a text query, and even on the

Telegram allows translating chat messages, and Telegram Premium users may even enable real-time chat translation.

Native antispam system

Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.

+

Collectible usernames

+

Telegram users can make it easy for others to contact them or find their public groups and channels via usernames: clients can also assign multiple collectible usernames to accounts, supergroups and channels they own.

Web events

When interacting with HTML5 games and the websites of payment gateways, Telegram apps should expose the following JS APIs.

diff --git a/data/web/corefork.telegram.org/api/auth.html b/data/web/corefork.telegram.org/api/auth.html index 9a73e8ae32..0886f728a0 100644 --- a/data/web/corefork.telegram.org/api/auth.html +++ b/data/web/corefork.telegram.org/api/auth.html @@ -66,11 +66,15 @@ If any of the logout tokens matches the account we're trying to login into and t auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; auth.sentCodeTypeMissedCall#82006484 prefix:string length:int = auth.SentCodeType; auth.sentCodeTypeEmailCode#5a159841 flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true email_pattern:string length:int next_phone_login_date:flags.2?int = auth.SentCodeType; -auth.sentCodeTypeSetUpEmailRequired#a5491dea flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true = auth.SentCodeType; +auth.sentCodeTypeSetUpEmailRequired#a5491dea flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true = auth.SentCodeType; +auth.sentCodeTypeFragmentSms#d9565c39 url:string length:int = auth.SentCodeType; +auth.sentCodeTypeFirebaseSms#e57b1432 flags:# nonce:flags.0?bytes receipt:flags.1?string push_timeout:flags.1?int length:int = auth.SentCodeType;

The system will automatically choose how to send the authorization code; there are multiple possible ways the code can arrive, signaled to the client via the auth.SentCodeType constructor returned by auth.sendCode: