Commit graph

379 commits

Author SHA1 Message Date
netkas
a5b472794d Add GetStickerSet method 2024-11-14 22:36:02 -05:00
netkas
4be031f96c Add GetChat method to retrieve chat details 2024-11-06 17:17:13 -05:00
netkas
2900b708da Handle exceptions in command and event handlers 2024-11-05 15:42:34 -05:00
netkas
12a091ce80 Refactor command inclusion logic in getText and getCaption 2024-11-05 13:11:04 -05:00
netkas
b826d0d4dd Add includeCommand parameter to getAnyText method 2024-11-05 13:07:25 -05:00
netkas
6c6d7abb56 Add command stripping option to getText and getCaption 2024-11-05 11:54:23 -05:00
netkas
f03490cb6c Improve command handling in PollingBot 2024-11-04 13:49:50 -05:00
netkas
ba6e991b23 Add method to retrieve any available message 2024-11-04 01:17:15 -05:00
netkas
7cfd6c0c5f Add methods to retrieve text and commands from messages 2024-11-04 01:16:55 -05:00
netkas
32d8e233b8 - Remove nullsafe operator from location property
- Fix user serialization in TransactionPartnerUser
 - Remove null check for stickers in StickerSet
 - Fix nullable operator usage in ShippingQuery toArray method
 - Remove null-safe operator for traveler and watcher
 - Fix null-safe operator in PreCheckoutQuery.php
 - Fix null safe operator usage in PollAnswer.php
 - Refactor null checks in PassportData methods
 - Remove nullsafe operator from chat property
 - Refactor web_app handling in MenuButtonWebApp class
 - Fix conditional assignment in InputMediaVideo
 - Fix null coalescing and array mapping in InputMediaAudio
 - Fix redundant null coalescing in caption_entities mapping
 - Fix parsing of caption_entities field in InlineQueryResultPhoto
 - Fix potential unnecessary null coalescing in caption_entities
 - Fix redundant null coalescence check in reply_markup assignment
 - Fix redundant null coalescing in array_map calls
 - Refactor: remove unnecessary null coalescing operator
 - Fix conditional check for caption_entities assignment
 - Fix handling of input_message_content array conversion
 - Fix potential null pointer issue in InlineQuery class
 - Remove redundant null check in toArray method
 - Fix redundant null coalesce operator in photo mapping
 - Remove null safe operator for origin
 - Fix redundant null coalescing in array_map calls.
 - Fix optional chaining error in ChosenInlineResult.php
 - Remove null-safe operator in toArray() method
 - Fix null safe operator usage in ChatMemberRestricted
 - Fix null-safe operator usage in ChatMemberOwner.php
 - Fix null safe operator usage in ChatMemberMember.php
 - Fix nullable operator usage in ChatMemberLeft class
 - Fix null-safe operator in ChatMemberBanned serialization.
 - Fix user attribute null coalescing in ChatMemberAdministrator
 - Fix null-safe operator usage in ChatLocation conversion
 - Remove null safe operator in toArray() method
 - Fix nullable operator usage in ChatInviteLink serialization
 - Fix potential null pointer issue in ChatBoostSourcePremium.
 - Remove null safe operator in ChatBoostRemoved toArray method
 - Fix 'from' property serialization in CallbackQuery
 - Fix nullable operator usage on chat property
 - Remove redundant type check for associative array
 - Remove deprecated BotOld.php file
2024-11-03 18:19:27 -05:00
netkas
b58aa3a5fc Rename ChatBoostAdded to ChatBoostUpdated 2024-11-01 18:03:50 -04:00
netkas
27d1dce80f Add ChatBoostUpdated object 2024-11-01 15:46:39 -04:00
netkas
f2f26998ad Fix object instantiation and add getUpdate functionality 2024-11-01 13:24:11 -04:00
netkas
9a4e537294 Add SendPoll method with tests and enhance Poll object 2024-10-10 13:20:40 -04:00
netkas
0145279516 Refactor media handling in InputMedia classes 2024-10-10 12:15:33 -04:00
netkas
427102a635 Add constructors and setters to InputMedia classes 2024-10-09 20:57:04 -04:00
netkas
0298049ca2 Add keyboard markup tests and constructors to objects 2024-10-09 17:50:57 -04:00
netkas
560721ffc8 Add validation braces and constructor docstring 2024-10-09 17:38:13 -04:00
netkas
d528993069 Add constructors and improve toArray implementations
Introduce constructors in InlineKeyboardButton and optimize the toArray methods for both InlineKeyboardButton and InlineKeyboardMarkup classes. This improves object initialization and makes the array conversion process more robust and readable.
2024-10-09 14:07:41 -04:00
netkas
02d9fe69d9 Added BotName 2024-10-09 13:13:28 -04:00
netkas
4558ebb9a7 Added ChatBoost 2024-10-09 13:13:21 -04:00
netkas
22f28c5711 Added UserChatBoosts 2024-10-09 13:13:15 -04:00
netkas
54a7f410af Added InputPollOption 2024-10-08 15:35:31 -04:00
netkas
2e58fcf108 Add forwardMessages method for batch forwarding 2024-10-08 00:13:23 -04:00
netkas
1835ccc08e Updated ReplyKeyboardRemove 2024-10-07 15:43:09 -04:00
netkas
b132c2c982 Updated ForceReply 2024-10-07 15:41:23 -04:00
netkas
458ebac946 Updated User 2024-10-07 15:37:11 -04:00
netkas
1930ed5c1c Added Missing PhpDoc 2024-10-07 15:36:08 -04:00
netkas
9a113db0a0 Minor correction 2024-10-07 15:20:30 -04:00
netkas
b2fe2bdec3 Updated MessageEntity 2024-10-07 15:20:19 -04:00
netkas
2b0309cd6d Add constructor and setter methods to ReplyKeyboardMarkup 2024-10-07 13:46:57 -04:00
netkas
b30d70db98 Initialize inline_keyboard array in the constructor 2024-10-07 13:46:49 -04:00
netkas
93b4c68d29 Add setter methods and constructor to ReplyParameters 2024-10-07 13:33:56 -04:00
netkas
77d30bd9bd Add constructor and fluent setters to LinkPreviewOptions 2024-10-07 13:27:48 -04:00
netkas
9a3d0b8188 Add setters to LinkPreviewOptions 2024-10-07 13:03:47 -04:00
netkas
b3d26446e6 Make Chat type nullable and default is_forum to false 2024-10-07 13:03:39 -04:00
netkas
cd2d070a1a Added ReplyParameters 2024-10-07 12:21:16 -04:00
netkas
23aa1ace92 Removed Unused Imports 2024-10-06 19:01:42 -04:00
netkas
0f7e2641e7 Updated WriteAccessAllowed 2024-10-06 16:10:04 -04:00
netkas
3196c357f1 Updated WebhookInfo 2024-10-06 16:09:07 -04:00
netkas
7738851797 Updated WebAppInfo 2024-10-06 16:07:59 -04:00
netkas
a214a7c736 Updated WebAppData 2024-10-06 16:07:30 -04:00
netkas
5557a49e17 Updated Voice 2024-10-06 16:06:58 -04:00
netkas
3564e2a29d Updated VideoNote 2024-10-06 16:06:23 -04:00
netkas
a04140dc8f Updated VideoChatStarted.php 2024-10-06 16:05:05 -04:00
netkas
af6cab91f7 Updated VideoChatScheduled 2024-10-06 16:04:40 -04:00
netkas
40816a586f Updated VideoChatParticipantsInvited 2024-10-06 16:03:52 -04:00
netkas
9a58bf51f4 Updated VideoChatEnded 2024-10-06 16:03:12 -04:00
netkas
d3c5bf4f51 Corrected ChatBoostRemoved 2024-10-06 16:02:02 -04:00
netkas
60d2f1b9fd Updated Video 2024-10-06 15:59:18 -04:00