MadelineProto/docs/TD_docs/constructors/ok.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

587 B

title description
ok Object of this type returns on successful function call for some functions

Constructor: ok

Back to constructors index

Object of this type returns on successful function call for some functions

Attributes:

Name Type Required Description

Type: Ok

Example:

$ok = ['_' => 'ok'];

PWRTelegram json-encoded version:

{"_": "ok"}

Or, if you're into Lua:

ok={_='ok'}