Or is there another way to use this method without releasing a new version?
Yes, of course.
class Api extends \Telegram\Bot\Api
{
public function editMessageText(array $params)
{
$response = $this->post('editMessageText', $params);
return new Message($response->getDecodedBody());
}
public function deleteMessage(array $params)
{
$response = $this->post('deleteMessage', $params);
return new Message($response->getDecodedBody());
}
}
Just use dev-develop but that has major changes. So you have to check the implementation.
Most helpful comment
Yes, of course.