account.updateDeviceLocked #

When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.updateDeviceLocked#38df3532 period:int = Bool;

Parameters #

NameTypeDescription
periodintInactivity period after which to start hiding message texts in PUSH notifications.

Result #

Bool

Only users can use this method #

Handling PUSH-notifications #

How to subscribe to and handle PUSH notifications