for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Greenplugin\TelegramBot\Method;
use Greenplugin\TelegramBot\Method\Traits\ChatIdVariableTrait;
/**
* Class LeaveChatMethod.
*
* @see https://core.telegram.org/bots/api#leavechat
*/
class LeaveChatMethod
{
use ChatIdVariableTrait;
* LeaveChatMethod constructor.
* @param int|string
* @param mixed $chatId
public function __construct($chatId)
$this->chatId = $chatId;
}