Commit graph

392 commits

Author SHA1 Message Date
41c1d0fc4c Added object \TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultVideo, see [InlineQueryResultVideo](https://core.telegram.org/bots/api#inlinequeryresultvideo) for more information.
https://git.n64.cc/nosial/libs/tgbot/-/issues/3
2023-04-23 18:58:24 -04:00
277a33f2d3 Added field via_chat_folder_invite_link to \TgBotLib\Objects\Telegram\ChatMemberUpdated to represent the invite link, which was used by the user to join the chat; for joining by invite link events only.
https://git.n64.cc/nosial/libs/tgbot/-/issues/3
2023-04-23 18:40:37 -04:00
67b7b68b4c Added object \TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultMpeg4Gif, see [InlineQueryResultMpeg4Gif](https://core.telegram.org/bots/api#inlinequeryresultmpeg4gif) for more information. 2023-04-23 18:36:34 -04:00
01399f0723 Added object \TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGif, see [InlineQueryResultGif](https://core.telegram.org/bots/api#inlinequeryresultgif) for more information. 2023-04-23 18:24:04 -04:00
79446bfcbd Added object \TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultPhoto, see [InlineQueryResultPhoto](https://core.telegram.org/bots/api#inlinequeryresultphoto) for more information. 2023-04-23 18:02:54 -04:00
f518ca0030 Added object \TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultArticle, see [InlineQueryResultArticle](https://core.telegram.org/bots/api#inlinequeryresultarticle) for more information.
https://git.n64.cc/nosial/libs/tgbot/-/issues/3
2023-04-23 17:46:09 -04:00
f8c02bceb3 Added methods \TgBotLib\Objects\Telegram\InlineKeyboardMarkup::removeRow & \TgBotLib\Objects\Telegram\InlineKeyboardMarkup::addRow to \TgBotLib\Objects\Telegram\InlineKeyboardMarkup 2023-04-23 17:33:26 -04:00
6a4128090c Added methods \TgBotLib\Objects\Telegram\InlineKeyboardMarkup::removeRow & \TgBotLib\Objects\Telegram\InlineKeyboardMarkup::addRow to \TgBotLib\Objects\Telegram\InlineKeyboardMarkup 2023-04-23 16:53:35 -04:00
7970313d88 Added methods \TgBotLib\Objects\Telegram\InlineKeyboardButton::setUrl, \TgBotLib\Objects\Telegram\InlineKeyboardButton::setText, \TgBotLib\Objects\Telegram\InlineKeyboardButton::setCallbackData,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setWebApp, \TgBotLib\Objects\Telegram\InlineKeyboardButton::setLoginUrl, \TgBotLib\Objects\Telegram\InlineKeyboardButton::setSwitchInlineQuery, \TgBotLib\Objects\Telegram\InlineKeyboardButton::setSwitchInlineQueryCurrentChat \TgBotLib\Objects\Telegram\InlineKeyboardButton::setCallbackGame, \TgBotLib\Objects\Telegram\InlineKeyboardButton::setPay to \TgBotLib\Objects\Telegram\InlineKeyboardButton 2023-04-23 16:52:40 -04:00
269baf7d26 Refactored InputMessageContent types to it's own namespace so InputMessageContent can always return the correct InputMessageContent object type when calling fromArray() 2023-04-23 16:22:15 -04:00
f54c30b320 Added object \TgBotLib\Objects\Telegram > InputInvoiceMessageContent to represent the content of an invoice message to be sent as the result of an inline query. 2023-04-23 15:45:42 -04:00
1b569e4972 Added object \TgBotLib\Objects\Telegram > InputContactMessageContent to represent the content of a contact message to be sent as the result of an inline query. 2023-04-23 15:02:03 -04:00
ec93f9ffd7 Added object \TgBotLib\Objects\Telegram > InputVenueMessageContent to represent the content of a venue message to be sent as the result of an inline query. 2023-04-23 14:57:44 -04:00
ce94585752 Added object \TgBotLib\Objects\Telegram > InputLocationMessageContent to represent the content of a location message to be sent as the result of an inline query. 2023-04-23 14:48:55 -04:00
ed41bcea2f Added object \TgBotLib\Objects\Telegram > InputTextMessageContent to represent the content of a text message to be sent as the result of an inline query. 2023-04-23 14:42:51 -04:00
Netkas
b4e0f62e99 Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 19:38:06 -04:00
Netkas
97fe1f33ad Renamed thumb field in TgBotLib\Objects\Telegram > VideoNote to thumbnail
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 19:21:05 -04:00
Netkas
da8108c196 Renamed thumb field in TgBotLib\Objects\Telegram > Video to thumbnail
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 19:16:50 -04:00
Netkas
70c6181cd8 Renamed thumb field in TgBotLib\Objects\Telegram > Sticker to thumbnail & Fixed TgBotLib\Objects\Telegram > Sticker > toArray() to properly return the premium_animation field 2023-04-10 19:13:27 -04:00
Netkas
3ae16b96e1 Renamed thumb field in TgBotLib\Objects\Telegram > Document to thumbnail
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 19:06:19 -04:00
Netkas
c6caabfcb4 Minor correction 2023-04-10 19:04:24 -04:00
Netkas
af8fabceaa Renamed thumb field in TgBotLib\Objects\Telegram > Audio to thumbnail
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 19:03:05 -04:00
Netkas
4d3ba7004e Renamed thumb field in TgBotLib\Objects\Telegram > Animation to thumbnail
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 17:47:33 -04:00
Netkas
65564ecb2a Added the field _needs_repainting_ to the [Sticker](https://core.telegram.org/bots/api#sticker) class which can be obtained via TgBotLib\Objects\Telegram > Sticker > needsRepainting()
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 16:05:37 -04:00
Netkas
38012104ae Added the ability to get the current bot short description in the given language as the class [BotShortDescription](https://core.telegram.org/bots/api#botshortdescription) using the method \TgBotLib\Bot > getMyShortDescription() see [getMyShortDescription](https://core.telegram.org/bots/api#getmyshortdescription) for more information. 2023-04-06 13:47:53 -04:00
Netkas
ccd910938b Added the ability to get the current bot description in the given language as the class [BotDescription](https://core.telegram.org/bots/api#botdescription) using the method \TgBotLib\Bot > getMyDescription() 2023-04-06 13:33:29 -04:00
Netkas
7be37db679 Added \TgBotLib\Objects\Telegram > Poll 2023-02-28 21:04:00 -05:00
Netkas
63b15f4931 Added null-check statement for \TgBotLib\Objects\Telegram > Poll
https://git.n64.cc/nosial/libs/tgbot/-/issues/1
2023-02-23 12:52:23 -05:00
Netkas
eacc106666 Minor change 2023-02-19 16:53:27 -05:00
Netkas
69c025af05 Changed return types 2023-02-16 15:27:57 -05:00
Netkas
759928d63a Added a bunch of methods and documentation, file uploads are broken at the moment. 2023-02-14 23:26:41 -05:00
Netkas
71dc0b5bb6 Added \TgBotLib\Objects\Telegram > WebhookInfo 2023-02-14 21:11:46 -05:00
Netkas
ac6e49d633 Updated \TgBotLib\Objects\Telegram > Message 2023-02-14 20:49:52 -05:00
Netkas
acdb57c013 Added \TgBotLib\Objects\Telegram > Update 2023-02-14 20:04:20 -05:00
Netkas
b80a2be4ac Added \TgBotLib\Objects\Telegram > InlineQuery 2023-02-14 20:04:20 -05:00
Netkas
09f515c76e Added \TgBotLib\Objects\Telegram > ChosenInlineResult 2023-02-14 20:04:19 -05:00
Netkas
1ef4e52a46 Refactored Namespace 2023-02-14 17:41:38 -05:00
Netkas
54a8a59ee8 Major Refactoring 2023-02-14 17:35:16 -05:00
Netkas
3de87df2d9 Added \TgBotLib\Objects > LabeledPrice 2023-02-14 15:31:10 -05:00
Netkas
1acd8afee2 Added \TgBotLib\Objects > PreCheckoutQuery 2023-02-14 15:25:11 -05:00
Netkas
30c8cb5ce1 Added \TgBotLib\Objects > ShippingQuery 2023-02-14 15:17:16 -05:00
Netkas
80afea0882 Added \TgBotLib\Objects > SuccessfulPayment 2023-02-14 15:13:58 -05:00
Netkas
883b139726 Added \TgBotLib\Objects > ShippingOption 2023-02-14 15:07:28 -05:00
Netkas
56847ceff4 Added \TgBotLib\Objects > OrderInfo 2023-02-14 15:02:20 -05:00
Netkas
3483c364a0 Added \TgBotLib\Objects > ShippingAddress 2023-02-14 14:58:32 -05:00
Netkas
1e345b26f8 Added \TgBotLib\Objects > EncryptedCredentials 2023-02-14 14:32:41 -05:00
Netkas
4f9644a078 Added \TgBotLib\Objects > EncryptedPassportElement 2023-02-14 14:29:23 -05:00
Netkas
bd6b40d2d2 Added \TgBotLib\Objects > PassportFile 2023-02-14 13:54:23 -05:00
Netkas
7b536a6f67 Added \TgBotLib\Objects > PassportData 2023-02-14 13:44:03 -05:00
Netkas
231779ed1b Updated \TgBotLib\Objects > Sticker 2023-02-14 13:32:47 -05:00