1.7 KiB
danog\MadelineProto\TL\TLCallback
Author: Daniil Gentili daniil@daniil.it
Interface for managing TL serialization callbacks.
Method list:
getMethodCallbacks(): array
getMethodBeforeCallbacks(): array
getConstructorCallbacks(): array
getConstructorBeforeCallbacks(): array
getConstructorSerializeCallbacks(): array
getTypeMismatchCallbacks(): array
Methods:
getMethodCallbacks(): array
Called after serialization of method. Pass the method name and arguments
Generated by danog/phpdoc
getMethodBeforeCallbacks(): array
Called right before serialization of method starts. Pass the method name
Generated by danog/phpdoc
getConstructorCallbacks(): array
Called right after deserialization of object, passing the final object.
Generated by danog/phpdoc
getConstructorBeforeCallbacks(): array
Called right before deserialization of object. Pass only the constructor name
Generated by danog/phpdoc
getConstructorSerializeCallbacks(): array
Called right before serialization of constructor. Passed the object, will return a modified version.
Generated by danog/phpdoc
getTypeMismatchCallbacks(): array
Called if objects of the specified type cannot be serialized. Passed the unserializable object, will try to convert it to an object of the proper type.
Generated by danog/phpdoc
Generated by danog/phpdoc