feat: sync iOS compatibility support

This commit is contained in:
A 2026-07-13 00:58:57 +08:00
parent 1f646ef024
commit 50803a604c
32 changed files with 871 additions and 78 deletions

View file

@ -0,0 +1,14 @@
package ios
import "github.com/gotd/td/tg"
// NoAppUpdate is the bounded answer used until telesrv has an application
// release catalog. It makes iOS keep its installed build and retry on its
// normal schedule instead of retrying a failed RPC.
func NoAppUpdate() tg.HelpAppUpdateClass {
return &tg.HelpNoAppUpdate{}
}
// DeviceLockedUpdated acknowledges the client-side autolock report. telesrv
// currently has no push-notification privacy state to persist from this hint.
func DeviceLockedUpdated() bool { return true }