for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TelegramBot\Api\Types;
use TelegramBot\Api\BaseType;
use TelegramBot\Api\TypeInterface;
/**
* This object represents a unique message identifier.
*/
class MessageId extends BaseType implements TypeInterface
{
* {@inheritdoc}
*
* @var array
protected static $requiredParams = ['message_id'];
protected static $map = [
'message_id' => true,
];
* Unique message identifier
* @var integer
protected $messageId;
* @return int
public function getMessageId()
return $this->messageId;
}
* @param int $messageId
* @return void
public function setMessageId($messageId)
$this->messageId = $messageId;