Hi, I'm trying to convert a text message with entity formatting to HTML. I am using MadelineProto V7, I am calling the method like this
(new danog\MadelineProto\TL\Conversion\Entities)->entitiesToHtml($message['message'], $messages['entities'])
I get an error Call to undefined method for $this->encode(), $this->decode(), $this->getEntityCode() in Entities class
Can anyone tell me how to convert message to HTML?
Hi, I'm trying to convert a text message with entity formatting to HTML. I am using MadelineProto V7, I am calling the method like this
(new danog\MadelineProto\TL\Conversion\Entities)->entitiesToHtml($message['message'], $messages['entities'])
I get an error
Call to undefined method
for $this->encode(), $this->decode(), $this->getEntityCode() in Entities classCan anyone tell me how to convert message to HTML?
Thanks