MadelineProto/docs/API_docs/constructors/error.md

318 B

Constructor: error

Attributes:

Name Type Required
code int Required
text string Required

Type: Error

Example:

$error = ['code' => int, 'text' => string, ];