Interface BotApiAliasInterface.

package Default

 Methods

add()

add(\TgBotApi\BotApiBase\Method\Interfaces\AddMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\AddMethodAliasInterface

Returns

boolean

answer()

answer(\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\AnswerMethodAliasInterface

Returns

boolean

create()

create(\TgBotApi\BotApiBase\Method\Interfaces\CreateMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\CreateMethodAliasInterface

Returns

boolean

delete()

delete(\TgBotApi\BotApiBase\Method\Interfaces\DeleteMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\DeleteMethodAliasInterface

Returns

boolean

edit()

edit(\TgBotApi\BotApiBase\Method\Interfaces\EditMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\EditMethodAliasInterface

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

Returns

\TgBotApi\BotApiBase\Type\MessageType

kick()

kick(\TgBotApi\BotApiBase\Method\Interfaces\KickMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\KickMethodAliasInterface

Returns

boolean

leave()

leave(\TgBotApi\BotApiBase\Method\Interfaces\LeaveMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\LeaveMethodAliasInterface

Returns

boolean

pin()

pin(\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface

Returns

boolean

promote()

promote(\TgBotApi\BotApiBase\Method\Interfaces\PromoteMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\PromoteMethodAliasInterface

Returns

boolean

restrict()

restrict(\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface

Returns

boolean

send()

send(\TgBotApi\BotApiBase\Method\Interfaces\SendMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\SendMethodAliasInterface

Returns

\TgBotApi\BotApiBase\Type\MessageType

set()

set(\TgBotApi\BotApiBase\Method\Interfaces\SetMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\SetMethodAliasInterface

Returns

boolean

stop()

stop(\TgBotApi\BotApiBase\Method\Interfaces\StopMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\StopMethodAliasInterface

Returns

boolean

unban()

unban(\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface

Returns

boolean

unpin()

unpin(\TgBotApi\BotApiBase\Method\Interfaces\UnpinMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\UnpinMethodAliasInterface

Returns

boolean

upload()

upload(\TgBotApi\BotApiBase\Method\Interfaces\UploadMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\FileType

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\UploadMethodAliasInterface

Returns

\TgBotApi\BotApiBase\Type\FileType