Skip to content

Error

Type · TDLib 1.8.67 · d1085f9c

An object of this type can be returned on every function call, in case of an error

Error(
  code: int32,
  message: string
) → Error

code

int32

Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user

message

string

Error message; subject to future changes