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

378 Commits

Author SHA1 Message Date
َAhJ
89acaf667b change class name 2023-09-24 21:25:43 +03:30
َAhJ
5fd5612b9b Make comments better look 2023-09-24 21:22:17 +03:30
َAhJ
c364996106 fix some MediaStory bugs 2023-09-24 18:33:36 +03:30
Mahdi
6e8cba490d Update secret chat and SecretMessage strategy
- Update some field in AbstractMessage and Message class
- Remove some Todos as it implemented!
- just 1 Todo in mean time and need changes thats getReply method
- Run composer cs-fix
2023-09-24 15:40:52 +03:30
AhJ
f56b5b733c
Add $cb to downloadToFile 2023-09-24 11:40:54 +03:30
َAhJ
52ddfc4a42 Add Media Story
Will handle non-downloadable medias
2023-09-24 02:18:03 +03:30
َAhJ
20ea920493 make property nullable 2023-09-24 01:33:16 +03:30
َAhJ
c30728eacb add named args, fix description 2023-09-24 01:33:04 +03:30
َAhJ
caabdbe6dd fix get story method 2023-09-24 01:26:40 +03:30
َAhJ
30dbf357ff delete useless Filter 2023-09-24 01:25:58 +03:30
َAhJ
b1d88e8b95 neat namespaces & wrapMessagemethod 2023-09-24 01:25:47 +03:30
َAhJ
e004d46c6d Improve descriptions 2023-09-24 01:24:56 +03:30
َAhJ
8d33c676a9 Fix wallpaper & DialogSetChatWallPaper 2023-09-24 01:24:38 +03:30
َAhJ
0b467ebfd9 fixing 2023-09-23 21:00:11 +03:30
َAhJ
287d204f21 fix slowmode methods 2023-09-23 20:57:10 +03:30
َAhJ
91e43d894f Support channel story 2023-09-23 20:57:02 +03:30
َAhJ
58a897788b add SlowMode bounded method 2023-09-23 19:41:09 +03:30
َAhJ
4d6e4ab5d4 Change enum method 2023-09-23 13:10:48 +03:30
َAhJ
c41c8042a5 Add edit filters 2023-09-21 19:32:45 +03:30
َAhJ
2a5f5dc306 make enums better 2023-09-21 19:07:14 +03:30
AhJ
5fdeb955b7
Merge branch 'danog:v8' into Updates,-Bounded-methods 2023-09-21 18:42:47 +03:30
Mahdi
f3c715e9b9
Merge branch 'danog:v8' into v8 2023-09-21 12:22:32 +00:00
385e067e85
Fix FromAdminOrOutgoing filter 2023-09-16 19:49:34 +02:00
2514334e6b
Fix issue in DialogTopicEdited 2023-09-16 19:34:11 +02:00
َAhJ
5c5b82b221 add more updates tp Filters 2023-09-11 14:44:43 +03:30
َAhJ
05641cc553 fixing 2023-09-11 14:27:11 +03:30
َAhJ
0f34723d85 improving 2023-09-11 02:53:12 +03:30
َAhJ
7e3212a1c8 add more Dialogs 2023-09-11 02:47:52 +03:30
َAhJ
90ca088763 add replyOrEdit method 2023-09-11 02:33:03 +03:30
َAhJ
2f80f447a6 fix 2023-09-11 02:26:09 +03:30
َAhJ
54d13fa407 Add updateChatUserTyping 2023-09-11 01:59:52 +03:30
َAhJ
16418a3edc Fixing 2023-09-11 01:44:20 +03:30
َAhJ
2a49211706 Add new Filter 2023-09-11 01:44:10 +03:30
َAhJ
ce02a31401 Support Story for Filters 2023-09-11 01:44:00 +03:30
Mahdi
0e27befbf8
Merge branch 'v8' into v8 2023-09-07 18:47:24 +00:00
َAhJ
9f80939575 handle sendMessageGamePlayAction 2023-09-07 00:56:29 +03:30
Mahdi
fcb5c8ba95 More fixes and works on Media classes! 2023-09-07 00:30:41 +03:30
Mahdi
13cb94ea13 More fixes and works on Media classes! 2023-09-06 23:13:14 +03:30
Mahdi
252f820011 Add support for secret chats in SimpleEventHandler!
- Add SecretChat service message classes.
- Separate PrivateMessage classes.
- Note that chatId and senderId marked as TODO to be added soon ...
- cs-fix
2023-09-06 23:01:07 +03:30
cbe87bca8d
Indent phpdocs 2023-09-06 21:12:19 +02:00
41de551a96
Rename some classes before release 2023-09-06 19:33:52 +02:00
8c14ff5fb8
Fix account.changeAuthorizationSettings, messages.editExportedChatInvite, channels.editForumTopic, phone.toggleGroupCallSettings, phone.toggleGroupCallRecord, phone.editGroupCallParticipant 2023-09-06 18:19:45 +02:00
cf02007eb0
Minor improvements 2023-09-06 17:55:31 +02:00
َAhJ
c04445b989 fixing 2023-09-06 18:18:14 +03:30
َAhJ
10378591cd Fix GroupCall class 2023-09-06 16:58:41 +03:30
َAhJ
b675995ac8 fix methods 2023-09-06 16:58:18 +03:30
َAhJ
d587147a24 fix handle updateStatus 2023-09-06 01:12:23 +03:30
8fe4128474 cs-fix 2023-09-05 22:21:35 +02:00
a97c6c6f18
Update 2023-09-05 22:01:55 +02:00
527d0a85f6
Rename stuff 2023-09-05 21:57:48 +02:00
ee970c8f00
Final tweaks 2023-09-05 21:48:41 +02:00
5b0e3fe083
Clean 2023-09-05 21:28:33 +02:00
86b3c7787b
Fixes 2023-09-05 21:26:15 +02:00
060c4ffd38
Fixes 2023-09-05 21:19:01 +02:00
d38845d320
Merge pull request #1397 from AhJXD/story
Provide abstractions for all updates & many bound methods
2023-09-05 20:55:58 +02:00
َAhJ
b66dc0641c fix descriptions 2023-09-05 21:00:02 +03:30
َAhJ
13743f76c7 some fixing 2023-09-05 18:20:40 +03:30
َAhJ
ecdaa07b32 handle user updates 2023-09-05 18:20:40 +03:30
َAhJ
59824ac119 handle updateStatus 2023-09-05 18:20:40 +03:30
َAhJ
eb5a4085ee Improve Message action & handle Action updates 2023-09-05 18:20:40 +03:30
َAhJ
f375084553 Fix Privacy & handle updatePrivacy 2023-09-05 18:20:40 +03:30
26823cc46d
Move all dialog ID-related methods to DialogId enum 2023-09-05 15:34:40 +02:00
َAhJ
5d4460cd48 change file name 2023-09-03 16:23:26 +03:30
َAhJ
b4b8f096ce add more bounded methods 2023-09-03 16:21:45 +03:30
َAhJ
f9162ac717 add topic methods 2023-09-03 11:54:53 +03:30
َAhJ
422ac243e4 fix story, add message action 2023-09-03 11:54:15 +03:30
َAhJ
bdb1918bc5 add getStory method, fix doctypes 2023-09-03 00:37:49 +03:30
َAhJ
7f784c66f0 add getHtml method, fix report method 2023-09-02 23:37:35 +03:30
َAhJ
fb98b0d03d add some description 2023-09-02 23:28:57 +03:30
AhJ
17df5ff7a3
Merge branch 'danog:v8' into story 2023-09-02 23:11:53 +03:30
Mahdi
ddee267781 Fix 2023-09-02 18:55:01 +03:30
Mahdi
f9383bee0d
Merge branch 'danog:v8' into v8 2023-09-02 18:41:40 +03:30
529206f347
Update 2023-09-02 15:22:08 +02:00
a5e040c208
Update Media.php 2023-09-02 15:20:09 +02:00
82e16a6a7d
Update Media.php 2023-09-02 15:12:38 +02:00
97169b5853
Fix 2023-09-02 15:08:14 +02:00
3ffa410340
Composer build 2023-09-02 15:07:18 +02:00
1968fa9a96
Document some fields 2023-09-02 15:06:06 +02:00
Mahdi
c7b222ed78 Do som fixes
- Run composer cs-fix
2023-09-02 16:22:07 +03:30
Mahdi
899054337e Fix return type of some methods 2023-09-01 21:15:32 +03:30
Mahdi
524f2a2e5c Fix 2023-09-01 17:37:30 +00:00
Mahdi
8cb7afcd08 Fix typo 2023-09-01 17:35:58 +00:00
Mahdi
bf54382e1d Fix typos
- Run composer cs-fix
2023-09-01 17:34:10 +00:00
Mahdi
f18576dcd0 Run composer cs-fix 2023-09-01 17:05:20 +00:00
Mahdi
e0056ec4e4 Add some bound methods 2023-09-01 16:55:31 +00:00
Mahdi
7ad1dbec58 Add description for saveContact bound method
- Add inviteToChannel to message class
- Add ban ,unban to GroupMessage class
2023-09-01 14:45:56 +00:00
048c28cb2d
Update 2023-09-01 16:20:34 +02:00
1b2ac28f49
Trigger build 2023-09-01 16:11:08 +02:00
2d0bea4d03
Merge branch 'v8' into story 2023-09-01 16:10:22 +02:00
ec00340350
Add FilterFromBot filter 2023-09-01 16:09:13 +02:00
Mahdi
f3366c869c Add contact bound methods 2023-09-01 13:57:44 +00:00
e4844b75ce
Trigger CI 2023-09-01 15:53:08 +02:00
c879e85b6b
Merge branch 'v8' into story 2023-09-01 15:49:21 +02:00
Mahdi
e73f2d293b Add download bound method for media types 2023-09-01 13:26:32 +00:00
8379bd8fc4
Update 2023-09-01 15:04:04 +02:00
Mahdi
75db3a215d Add report bound method for Message class and ReportReason class for reasons
- change type of DiscardReason to string and do some fix on that
2023-09-01 12:48:44 +00:00
7cfa861347
Psalm fixes 2023-08-31 18:02:11 +02:00
َAhJ
500d4e0c2e add bounded methods 2023-08-31 15:29:15 +03:30
َAhJ
ca101a2143 Handle updateSentStoryReaction 2023-08-31 15:29:02 +03:30
َAhJ
0ac976d4fe Handle story update 2023-08-31 13:59:58 +03:30
َAhJ
707560d621 delete unused class 2023-08-31 13:59:46 +03:30
َAhJ
ba7aeb6ec6 Add Privacy class 2023-08-31 13:59:33 +03:30
َAhJ
7a0a9af1f4 Handle story update 2023-08-31 13:59:22 +03:30
َAhJ
b08f08e3ee Add Privacy class 2023-08-31 13:59:01 +03:30
َAhJ
498ccc8849 Add copyright 2023-08-31 13:58:37 +03:30
Mahdi
7e5f7b6050
Merge branch 'danog:v8' into v8 2023-08-30 21:52:30 +03:30
َAhJ
48983ee96b fixing 2023-08-30 21:01:56 +03:30
َAhJ
dc012cb89e Fix PhoneCall & DiscardReason 2023-08-30 21:01:50 +03:30
َAhJ
fcc0b6b570 Clear GroupCall classes 2023-08-30 21:01:24 +03:30
Mahdi
6064353024 Add description for entities classes 2023-08-30 20:36:04 +03:30
88d6e65d91
Update Message.php 2023-08-30 18:33:56 +02:00
Mahdi
698103b0c8 Add internal tag too class constructors 2023-08-30 17:09:44 +03:30
Mahdi
e76146664f Add Entities classes
- Make entity property as public
- Add support for objects in getHTML method!
2023-08-30 17:07:14 +03:30
َAhJ
cb503d3487 Delete unused Classes 2023-08-30 16:40:12 +03:30
َAhJ
b7292fa160 Add more Dialogs 2023-08-30 16:39:06 +03:30
َAhJ
0cb77bd4d9 new block/unblock method 2023-08-30 16:39:06 +03:30
6694f5e5a0
Update ChannelMessage.php 2023-08-30 14:47:44 +02:00
349cdafdaf
Update Banned.php 2023-08-30 14:47:02 +02:00
َAhJ
66d2e4f4c3 new service message class 2023-08-30 14:10:31 +03:30
َAhJ
9c4e852fe6 Add screenShot method 2023-08-30 14:10:31 +03:30
a7c4eec8aa
Update ChannelMessage.php 2023-08-30 12:22:53 +02:00
ecbf46ecf0
Update GroupMessage.php 2023-08-30 12:22:38 +02:00
adbed66fa5
Update ChannelMessage.php 2023-08-30 12:22:16 +02:00
َAhJ
eae225657c fix array key 2023-08-30 13:39:55 +03:30
َAhJ
9c48c5d386 make class as final 2023-08-30 13:32:30 +03:30
َAhJ
e295693602 make class as abstract 2023-08-30 13:31:59 +03:30
َAhJ
4996949f7e remove duplicate property 2023-08-30 13:08:19 +03:30
َAhJ
85225936db fix data type, change method 2023-08-30 13:08:05 +03:30
َAhJ
4b1cbb1797 add description for param 2023-08-30 13:07:26 +03:30
َAhJ
e424c0d61e change add/remove to save/unsave method 2023-08-30 13:07:03 +03:30
َAhJ
c13526103d Change descroption 2023-08-30 13:06:47 +03:30
َAhJ
d0f3002301 add some methods 2023-08-30 00:29:41 +03:30
َAhJ
586f11df71 add some methods 2023-08-30 00:29:36 +03:30
َAhJ
a9fc8bc846 add/reomve methods 2023-08-30 00:29:24 +03:30
َAhJ
0f960b902f Add class for result of channels.getParticipant 2023-08-30 00:29:10 +03:30
َAhJ
656dcf7a6b Fixing 2023-08-29 23:54:55 +03:30
85000058f2
Remove isSupergroup and create isSupergroupOrChannel method 2023-08-29 22:12:42 +02:00
5aabfb0f9c
Fixes 2023-08-29 22:07:36 +02:00
َAhJ
5bec0abf9a Support for inlineQuery 2023-08-29 23:29:03 +03:30
َAhJ
3a9423d3dc Merge branch 'v8' of https://github.com/AhJXD/MadelineProto into v8 2023-08-29 23:23:24 +03:30
َAhJ
0d70c985ce Resolve confilits 2023-08-29 23:18:08 +03:30
24f89f9c63
Mark as internal 2023-08-29 20:10:05 +02:00
f5e16f380f
Reuse logic 2023-08-29 20:07:11 +02:00
7455f29b60
Add view/forward/author information in all messages to include info in forwarded messages 2023-08-29 16:39:47 +02:00
16c43d2678
Add forward counter 2023-08-29 15:45:41 +02:00
َAhJ
a94c1e5960 fixing 2023-08-29 14:20:30 +03:30
َAhJ
4fe5a7f7de Add FilterSenders 2023-08-29 14:19:17 +03:30
َAhJ
acf802a99c Change FilterSender for AbstractMessage 2023-08-29 14:19:06 +03:30
َAhJ
53cfd28ad0 Add supporting InlineQuery & ButtonQuery for Sender Filters 2023-08-29 13:29:24 +03:30
َAhJ
9e8cf2cf7c fix $name paramter 2023-08-29 13:12:03 +03:30