diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index c9ac3b0935..7017c4f791 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -267,7 +267,7 @@ Also, discussion group admins can now phoneConnection#9cc123c7 flags:# tcp:flags.0?true id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;

Layer 140

Introducing attachment menus, bot web apps, custom bot menu buttons, suggested bot admin rights and ringtones.
-Also introducing replies to scheduled messages, deletion of all our supergroup messages for everyone, recommended sponsored messages, forced IPv6 connection attempts and more specific DC connection settings.

+Also introducing replies to scheduled messages, deletion of all our supergroup messages for everyone, recommended sponsored messages, forced IPv6 connection attempts and more specific DC connection settings.

Schema changes

New Methods
-

If the updates were applied, local Updates state must be updated with seq and date from the constructor.

+

If the updates were applied, local Updates state must be updated with seq (unless it's 0) and date from the constructor.

For all the other Updates type constructors there is no need to check seq or change a local state.

Recovering gaps

To do this, updates.getDifference (common/secret state) or updates.getChannelDifference (channel state) with the respective local states must be called.