klev-o / telegram-bot-api

Simple and convenient object-oriented implementation Telegram bot API with php version ^7.4 support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Klev\TelegramBotApi\Methods\UpdatingMessages\EditMessageCaption

gorovoy opened this issue · comments

The class does not contain a caption field.
Solution:

class EditCaption extends EditMessageCaption { public ?string $caption = ''; }

Strange, at the moment of implementation the field was called "text"... Corrected