telegram api method · layer 229 · #57bbd166

stories.activateStealthMode

usable by users

Activates stories stealth mode, see here » for more info.

definition

stories.activateStealthMode#57bbd166 flags:# past:flags.0?true future:flags.1?true = Updates;

parameters

nametypedescription
flags#Flags, see TL conditional fields
pastflags.0?trueWhether to erase views from any stories opened in the past stories_stealth_past_period seconds », as specified by the client configuration.
futureflags.1?trueWhether to hide future story views for the next stories_stealth_future_period seconds », as specified by the client configuration.

returns

Updates

errors (3)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400PREMIUM_ACCOUNT_REQUIREDA premium account is required to execute this action.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 161–229

idlayers
#57bbd166161–229