MadelineProto/docs/TD_docs/constructors/ok.md
2017-07-23 16:33:46 +02: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'}