Added object \TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGif, see [InlineQueryResultGif](https://core.telegram.org/bots/api#inlinequeryresultgif) for more information.

This commit is contained in:
Netkas 2023-04-23 18:24:04 -04:00
parent 79446bfcbd
commit 01399f0723
2 changed files with 337 additions and 0 deletions

View file

@ -19,6 +19,7 @@ input objects for methods that require input objects.
* Added new exception class `NotImplementedException` to represent the case when a method is not implemented yet or the method is not applicable to the current object.
* Added object `\TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultArticle`, see [InlineQueryResultArticle](https://core.telegram.org/bots/api#inlinequeryresultarticle) for more information.
* Added object `\TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultPhoto`, see [InlineQueryResultPhoto](https://core.telegram.org/bots/api#inlinequeryresultphoto) for more information.
* Added object `\TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGif`, see [InlineQueryResultGif](https://core.telegram.org/bots/api#inlinequeryresultgif) for more information.
### Changed
* Refactored InputMessageContent types to its own namespace so InputMessageContent can always return the correct InputMessageContent object type when calling `fromArray()`