1.8 KiB
1.8 KiB
title: danog\MadelineProto\MTProtoTools\CallHandler: Manages method and object calls.
description:
danog\MadelineProto\MTProtoTools\CallHandler
Author: Daniil Gentili daniil@daniil.it
Manages method and object calls.
Generated by danog/phpdoc.
Method list:
methodCall(string $method, array|\Generator $args, array $aargs): mixed
methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator
methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator
Methods:
methodCall(string $method, array|\Generator $args, array $aargs): mixed
Synchronous wrapper for methodCall.
Parameters:
$method
:string
Method name$args
:array|\Generator
Arguments
Full type:array|\Generator<mixed, mixed, mixed, array>
$aargs
:array
Additional arguments
See also:
\Generator
methodCallAsyncRead(string $method, array|\Generator $args, array $aargs): \Generator
Call method and wait asynchronously for response. If the $aargs['noResponse'] is true, will not wait for a response.
Parameters:
$method
:string
Method name$args
:array|\Generator
Arguments
Full type:array|\Generator<mixed, mixed, mixed, array>
$aargs
:array
Additional arguments
See also:
\Generator
methodCallAsyncWrite(string $method, array|\Generator $args, array $aargs): \Generator
Call method and make sure it is asynchronously sent.
Parameters:
$method
:string
Method name$args
:array|\Generator
Arguments
Full type:array|\Generator<mixed, mixed, mixed, array>
$aargs
:array
Additional arguments
See also:
\Generator
Properties
$settings
:\Settings
Settings