Trait AliasMethodTrait.
 Methods
add()
        
add(\TgBotApi\BotApiBase\Method\Interfaces\AddMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\AddMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
answer()
        
answer(\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
call()
        
call(\TgBotApi\BotApiBase\Method\Interfaces\MethodInterface $method, string|null $type = null) : mixed
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\MethodInterface
$type
stringnull
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
mixed
  
 
create()
        
create(\TgBotApi\BotApiBase\Method\Interfaces\CreateMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\CreateMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
delete()
        
delete(\TgBotApi\BotApiBase\Method\Interfaces\DeleteMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\DeleteMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
edit()
        
edit(\TgBotApi\BotApiBase\Method\Interfaces\EditMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\EditMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
\TgBotApi\BotApiBase\Type\MessageType| bool
  
 
forward()
        
forward(\TgBotApi\BotApiBase\Method\Interfaces\ForwardMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\ForwardMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
\TgBotApi\BotApiBase\Type\MessageType
  
 
kick()
        
kick(\TgBotApi\BotApiBase\Method\Interfaces\KickMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\KickMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
leave()
        
leave(\TgBotApi\BotApiBase\Method\Interfaces\LeaveMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\LeaveMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
pin()
        
pin(\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
restrict()
        
restrict(\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
send()
        
send(\TgBotApi\BotApiBase\Method\Interfaces\SendMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\SendMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
\TgBotApi\BotApiBase\Type\MessageType
  
 
set()
        
set(\TgBotApi\BotApiBase\Method\Interfaces\SetMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\SetMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
stop()
        
stop(\TgBotApi\BotApiBase\Method\Interfaces\StopMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\StopMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
unban()
        
unban(\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
unpin()
        
unpin(\TgBotApi\BotApiBase\Method\Interfaces\UnpinMethodAliasInterface $method) : boolean
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\UnpinMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
boolean
  
 
upload()
        
upload(\TgBotApi\BotApiBase\Method\Interfaces\UploadMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\FileType
Parameters
$method
\TgBotApi\BotApiBase\Method\Interfaces\UploadMethodAliasInterface
Exceptions
\TgBotApi\BotApiBase\Exception\ResponseException | 
 | 
Returns
\TgBotApi\BotApiBase\Type\FileType