1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 00:16:54 +01:00
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'}