tgbotlib/src/TgBotLib/Bot.php

31 lines
517 B
PHP
Raw Normal View History

2023-02-12 13:43:38 -05:00
<?php
namespace TgBotLib;
class Bot
{
/**
* The bot's token
*
* @var string
*/
private $token;
/**
* Public Constructor
*
* @param string $token
*/
public function __construct(string $token)
2023-02-12 13:43:38 -05:00
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken(): string
{
return $this->token;
}
}