Commit graph

671 commits

Author SHA1 Message Date
netkas
a24c617c9f Remove EventType enumeration 2024-11-03 18:25:15 -05:00
netkas
a89e968a40 Oops 2024-11-03 18:23:34 -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
7b16b2bbc6 Add SetMessageReaction method 2024-11-03 18:05:05 -05:00
netkas
547c19888a Add GetWebhookInfo method to fetch webhook info 2024-11-03 17:55:47 -05:00
netkas
e6f80ae85c Refactor return type of DeleteWebhook::execute method 2024-11-03 17:54:29 -05:00
netkas
76b6590f79 Add DeleteWebhook method to handle webhook deletions 2024-11-03 17:46:16 -05:00
netkas
e7f89d7e0d Fix incorrect event type mapping for shipping query 2024-11-03 17:31:59 -05:00
netkas
f26f1c963f Update documentation com 2024-11-03 17:28:51 -05:00
netkas
56c7fb04d2 Refactor event type determination logic 2024-11-03 17:22:45 -05:00
netkas
4829853d0e Add Edited Message Event support 2024-11-03 17:20:16 -05:00
netkas
2a08cc51de Add support for handling channel post events 2024-11-03 17:18:39 -05:00
netkas
041c2dc84c Add support for edited channel post events 2024-11-03 17:15:47 -05:00
netkas
325e29a930 Add BusinessConnection event support 2024-11-03 17:14:07 -05:00
netkas
2b8f9afa49 Remove unused import from UpdateEventType enum 2024-11-03 17:12:00 -05:00
netkas
2f87996bd3 Add support for business message events 2024-11-03 17:11:16 -05:00
netkas
b40ee01d6e Add support for edited business messages 2024-11-02 00:27:17 -04:00
netkas
775a5ab71f Add support for deleted business messages event 2024-11-02 00:24:18 -04:00
netkas
b4a7d69c3c Removed UpdateEventType.php deprecated 2024-11-02 00:22:32 -04:00
netkas
bcf23f3834 Add support for message reaction event handling 2024-11-02 00:22:25 -04:00
netkas
ada256566e Add support for message reaction count events 2024-11-02 00:20:28 -04:00
netkas
ac431136de Add support for handling inline query events 2024-11-02 00:18:14 -04:00
netkas
a212671c49 Add support for ChosenInlineResult events 2024-11-02 00:16:48 -04:00
netkas
709e5794d5 Add support for CallbackQuery events. 2024-11-01 21:54:05 -04:00
netkas
e843c8ca4f Add support for ShippingQuery events 2024-11-01 21:50:21 -04:00
netkas
f1342e3f42 Add PreCheckoutQueryEvent handling 2024-11-01 21:33:47 -04:00
netkas
c57cdfe05c Add support for Paid Media Purchased event 2024-11-01 21:30:41 -04:00
netkas
39821585e4 Add detailed docblocks to PollingBot class methods 2024-11-01 21:25:50 -04:00
netkas
95e9118bfb Enhance event handler selection in PollingBot 2024-11-01 18:21:40 -04:00
netkas
31550fc1dc Add PollEvent to handle new poll updates 2024-11-01 18:19:47 -04:00
netkas
d56cc3dd22 Add support for handling poll answer updates 2024-11-01 18:16:17 -04:00
netkas
3ce87cabcb Add support for MyChatMemberUpdatedEvent 2024-11-01 18:13:09 -04:00
netkas
73d14179b1 Rename EventType to UpdateEventType for clarity 2024-11-01 18:11:11 -04:00
netkas
b8b1a87639 Add ChatMemberUpdatedEvent handling 2024-11-01 18:09:14 -04:00
netkas
c7edc420f3 Add doc comments for event methods 2024-11-01 18:05:02 -04:00
netkas
cd691703ee Add WebhookBot class for handling Telegram webhook requests 2024-11-01 18:04:20 -04:00
netkas
ff245ad315 Add event type determination method to Utilities 2024-11-01 18:04:11 -04:00
netkas
95346f78cd Add UpdateEvent abstract class 2024-11-01 18:04:02 -04:00
netkas
b58aa3a5fc Rename ChatBoostAdded to ChatBoostUpdated 2024-11-01 18:03:50 -04:00
netkas
f83b5ac40f Add RemovedChatBoostEvent class 2024-11-01 15:47:09 -04:00
netkas
da553c3bc9 Add PollingBot class to handle Telegram polling updates 2024-11-01 15:47:02 -04:00
netkas
374e3907c4 Add EventType enum for standardized event handling 2024-11-01 15:46:55 -04:00
netkas
734adf2f7d Add ChatJoinRequestEvent class 2024-11-01 15:46:47 -04:00
netkas
27d1dce80f Add ChatBoostUpdated object 2024-11-01 15:46:39 -04:00
netkas
6787654243 Add ChatBoostEvent class 2024-11-01 15:46:32 -04:00
netkas
40fd31cc79 Add event handling system to Bot class 2024-11-01 15:46:24 -04:00
netkas
1db75f74f6 Updated tgbot.iml 2024-11-01 14:01:32 -04:00
netkas
d702ddb120 Update logger dependencies and add Logger class 2024-11-01 14:01:25 -04:00
netkas
f8e5b0f632 Add SetWebhook method and integrate with Methods enum 2024-11-01 13:51:52 -04:00
netkas
f2f26998ad Fix object instantiation and add getUpdate functionality 2024-11-01 13:24:11 -04:00