owpengram-server/internal/compat/ios/minimal.go

14 lines
528 B
Go

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 }