1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-11 12:28:16 +01:00
Commit Graph

307 Commits

Author SHA1 Message Date
َAhJ
7399c19f99 Add Inline Query Peer Types 2023-08-08 19:42:48 +03:30
َAhJ
c944942b21 Add Inline Class 2023-08-08 19:42:29 +03:30
4d5a12d24b
Final fixes 2023-08-06 22:00:31 +02:00
Mahdi
a974475959
Update Message.php
Completely remove text as it doesnt need here
2023-08-06 03:05:55 +03:30
Mahdi
b64c649f2b Fix translate method bug! 2023-08-06 02:50:14 +03:30
5255cf3460
Increase release 2023-08-05 22:55:13 +02:00
203815a322
Psalm fixes 2023-08-05 21:26:58 +02:00
663afb6a76
Psalm fixes 2023-08-05 20:53:57 +02:00
e79ba357b2
Cleanup 2023-08-05 19:13:26 +02:00
2ddc72e106
Merge pull request #1380 from mtalaeii/v8
Add too many features!
2023-08-04 20:30:13 +02:00
89e1230b06
Add FromAdminOrOutgoing simple filter, markdownUrlEscape function, fix pagination hash & other fixes 2023-08-04 20:15:37 +02:00
Mahdi
cdf491fc8e Fix 2023-08-04 20:24:03 +03:30
Mahdi
ed8a1c9b13 Small fixes 2023-08-04 15:45:52 +03:30
Mahdi
3aa6c68355 Some fixes
- Also remove empty assertion from edit bound method as it doesn't need here
2023-08-04 11:52:37 +03:30
Mahdi
4f0630a79d Fix
- Forgot to add constructor for ChatGameQuery
2023-08-04 01:57:36 +03:30
Mahdi
69b93456e3 Fix some bug 2023-08-04 01:54:55 +03:30
Mahdi
8df1c30240
Update InlineGameQuery.php 2023-08-04 01:35:23 +03:30
Mahdi
935da6ec70 Do all tasks
- separate ChatButtonQuery ChatGameQuery InlineButtonQuery and InlineGameQuery from CallbackQuery class
- add private wrapQuery to handle both inline and chat queries
- some changes to some methods and some fixes ...
2023-08-04 01:13:42 +03:30
Mahdi
a02074c6c5 Fix the translate method bug
- Add phpDoc for CallbackQuery class methods
2023-08-03 19:14:57 +03:30
Mahdi
b578b4ceb0 Add to many features!
- Add CallbackQuery class for handle callbackQueries updates with 2 bound method(edit and answer)
- Add support for CallbackQueries in UpdateHandler class
- Add FilterCallback & FilterCallbackRegex class for handle callbackQueries texts
- Change structure for FilterFromAdmin to handle also callbackQueries requests
- add 2 method edit and translate to Message class
2023-07-30 16:12:04 +03:30
b5055c1c38
Populated imported flag 2023-07-29 15:53:52 +02:00
d9541808fe
Multiple fixes 2023-07-27 13:20:30 +02:00
3d6186235f
Allow inclusion of traits, interfaces in plugins, fix creation of sessions, improve addReaction/delReaction/getOurReactions methods 2023-07-26 17:36:53 +02:00
Mahdi
05e986cf9f Fix 2023-07-26 13:41:47 +03:30
Mahdi
725e47d21c Fix some bugs
- Run composer cx-fix
2023-07-26 13:37:57 +03:30
Mahdi
ed60ee5f80 Change addReaction to just accept int|string
- Fix some bugs
- Run composer cx-fix
2023-07-26 12:32:17 +03:30
Mahdi
af318e72bd Fix
- Fix getReaction bug
- Run composer cs-fix
2023-07-26 02:01:39 +03:30
Mahdi
79d546ad46 Fix
- Fix delReaction bug
- Run composer cs-fix
2023-07-26 01:48:38 +03:30
Mahdi
e16980b368 Fix
- Run composer cs-fix
2023-07-26 00:06:55 +03:30
Mahdi
958b619286 Fix 2023-07-25 20:42:58 +03:30
Mahdi
b915d661b9 Fix 2023-07-25 20:40:54 +03:30
Mahdi
093cc383c6
Merge branch 'v8' into v8 2023-07-25 20:39:29 +03:30
Mahdi
bdd0baac59 Delete replyInlineBotResult as incomplete!
- also add 3 methods delReaction addReaction and getReactions
2023-07-25 20:37:27 +03:30
55e1d2f15f
Update localization 2023-07-25 19:06:31 +02:00
Mahdi
de625e5311
Merge branch 'danog:v8' into v8 2023-07-25 20:16:04 +03:30
76446a2d82
Remove non-IPC fallback, improve IPC logic 2023-07-25 18:44:30 +02:00
b2446fd4d7
Add FilterFromSender 2023-07-25 18:01:23 +02:00
Mahdi
1dbbca27e9
Merge branch 'danog:v8' into v8 2023-07-25 16:10:42 +03:30
5f7325f71b
Add separate StaticSticker, AnimatedSticker, VideoSticker classes 2023-07-25 13:34:30 +02:00
3e09a1ee13
Multiple improvements 2023-07-25 13:13:17 +02:00
Mahdi
266350ae38 Add 4 bound method :
- pin that will pin a message
- unpin that will unpin a message
- react that will react to a message(accept array and string for reaction)
- replyInlineBotResult that Reply inlineBotResult to message
Other Replies methods will add in next pr.
2023-07-25 14:32:50 +03:30
Mahdi
243279d40b Add 3 bound method :
- pin that will pin a message
- unpin that will unpin a message
- react that will react to a message(accept array and string for reaction)
Replies methods will add in next pr
2023-07-25 12:13:56 +03:30
a1267b75c6
Improve getReply 2023-07-23 16:47:19 +02:00
bd97e3075e Add extra assertion 2023-07-22 21:14:37 +02:00
d4fee048d1
Add FilterTextCaseInsensitive filter 2023-07-22 20:52:57 +02:00
6b33318f27
Add caseInsensitive flag to FilterText 2023-07-22 15:31:22 +02:00
937f67102a
Fixes to logger updateSettings, getReply and FilterReplyToSelf. 2023-07-22 13:57:59 +02:00
7c871d977b
Multiple fixes and improvements 2023-07-21 19:21:34 +02:00
bae4851671
Cache getReply 2023-07-21 18:03:30 +02:00
296d9500ac
cs-fix 2023-07-21 17:49:55 +02:00
9c3c52ce23
Fixes 2023-07-21 17:46:41 +02:00
d0ea3d285e Fix getReply 2023-07-20 22:40:26 +02:00
923afaf651
Add support for stories (and fix some bugs, too) 2023-07-20 21:09:57 +02:00
a13d16c7ea Fix delete() 2023-07-20 06:07:57 +02:00
867a88bcba
Improve logging 2023-07-19 18:14:46 +02:00
1ba93f1d35
Allow specifying a class name to getEventHandler, fix FilterCommand 2023-07-19 08:23:40 +02:00
8f6bea02a5
Allow specifying command types in FilterCommand 2023-07-18 20:35:01 +02:00
baf51da94b
Provide login endpoint 2023-07-18 16:03:24 +02:00
2f8c3016c0
Download script improvements 2023-07-18 15:44:09 +02:00
1726441d54
Final fixes 2023-07-16 16:00:09 +02:00
a2d048178f
Fix simple filters 2023-07-16 15:01:03 +02:00
befcc3ed19
Fix simple filters 2023-07-16 14:59:25 +02:00
0f409ad727
Add getDownloadLink bound method 2023-07-16 14:55:00 +02:00
74a363d1ef fix 2023-07-15 22:33:35 +02:00
06aa2e8057 Fix 2023-07-15 22:08:42 +02:00
2e7a50a8c0 Fix NOT optimization 2023-07-15 21:27:41 +02:00
f4688e4954
Fixes 2023-07-14 20:51:06 +02:00
3d73faebba
Better abstractions 2023-07-14 20:39:32 +02:00
ae3b58b396
Update 2023-07-14 20:24:06 +02:00
60a7afb6a8
Update 2023-07-14 20:15:04 +02:00
c3c296bed4
Fixes 2023-07-14 17:41:32 +02:00
ff743d1418
Fixes 2023-07-14 16:34:52 +02:00
2a648fe3bc
Reduce latency 2023-07-13 17:05:44 +02:00
ccf83d3aee
Improve performance a bit 2023-07-13 16:54:57 +02:00
392ecdf08c
Add reply, delete bound methods 2023-07-11 19:43:31 +02:00
8f66319b66
Implement PSR-4 autoloading for plugin paths 2023-07-10 21:15:35 +02:00
e5fddecce9
Add getReply function and more simple filters 2023-07-10 18:51:27 +02:00
4e1581c3d0
Add a bunch of new filters and a getAdmin function 2023-07-10 18:42:58 +02:00
b896ae8699
Fix 2023-07-10 10:13:11 +02:00
b8bc4cafe5
Add Cron attribute (rename the old Periodic attribute) 2023-07-09 18:13:37 +02:00
363058f99d
Add Periodic attribute 2023-07-09 17:43:35 +02:00
5389f73371
Automatically try caching all dialogs on peer not found error 2023-07-09 17:42:51 +02:00
cc4a99d598
Improve performance 2023-07-08 21:42:18 +02:00
7c14ff9924
Fixes 2023-07-08 17:11:21 +02:00
120176c668
Implement automatic waveform decoding 2023-07-08 16:43:13 +02:00
a278f1efc1
Finish implementing filters 2023-07-08 15:45:14 +02:00
e454f373cf
Implement simple filters 2023-07-07 22:19:34 +02:00
bab9efa656
Finalize API 2023-07-07 22:06:32 +02:00
b6c4fcdc7b
Fix file uploads with uv 2023-07-07 16:56:03 +02:00
bfc0ee9065
Update 2023-07-07 15:23:01 +02:00
1d850a6209
Simplify 2023-07-06 22:09:09 +02:00
b5a7513555
Settle for the simplest structure 2023-07-06 21:59:36 +02:00
5e1b6cda10
Simplify structure 2023-07-06 21:39:20 +02:00
f1c28fabba
Add some service messages 2023-07-06 20:58:12 +02:00
af0494089f
Add more filters 2023-07-05 22:00:57 +02:00
622d83a97a
Add remaining filters 2023-07-05 21:28:17 +02:00
a157f277c1
Improve getInfo/getType, add wrapper methods 2023-07-04 19:48:23 +02:00
6a8fcda99e
Further refactoring 2023-07-04 18:19:06 +02:00
92057dab27
Improve a bit 2023-07-01 19:14:53 +02:00
cd084736f7
Add info about forwarded messages 2023-07-01 19:06:30 +02:00
cc04600cd3
Handle reply_to fields 2023-07-01 18:45:35 +02:00
987fe97810
Refactoring 2023-07-01 18:22:27 +02:00
73dd93a0d9
Improve class hierarchy 2023-07-01 18:04:20 +02:00
64dfbdc822
Add keyboard abstraction 2023-07-01 17:53:29 +02:00
1d7dfb2042
Improve docs 2023-07-01 14:39:33 +02:00
56827fa0e2
Refactoring 2023-07-01 13:04:59 +02:00
33f8ade1ac
Performance improvement 2023-06-28 15:50:38 +02:00