Commit Graph

22 Commits

Author SHA1 Message Date
Setiawan Hu
2a303fe21d Code cleaning 2021-05-20 21:34:00 +07:00
Setiawan Hu
3f8940760b Fixing invalid class type issue on ClientMessages constructor (#14) 2021-05-20 21:29:22 +07:00
Setiawan Hu
4e5db77be6 Updating documentation 2020-12-10 21:06:20 +07:00
Setiawan Hu
30bedfe036 Adding ClientMessage constructor's argument type 2020-12-10 21:05:54 +07:00
Setiawan Hu
b50a4afd0b Adding TelegramObject's __isset method argument type 2020-12-10 21:01:02 +07:00
Setiawan Hu
7a7e2fb511 Fixing TelegramObject constructor issue
* Fix issue when empty argument passed may causing no argument passed error
* Removing Logger method invocation when instantiating the object
2020-12-10 21:00:06 +07:00
Setiawan Hu
d5bbea7b0f Updating documentation 2020-12-10 20:56:08 +07:00
Setiawan Hu
b29f70edfa Refactoring MadelineProtoFactory
changed:
- move the create telegram session folder at storage path logic to when the vendor:publish command is executed
2020-08-18 17:23:02 +07:00
Setiawan Hu
00d08a9aa7 Updated documentation 2020-08-14 17:08:58 +07:00
Setiawan Hu
1b543ab25a Updated MadelineProtoFactory
updated:
- moving the null config logic to make() method
2020-08-14 00:55:26 +07:00
Setiawan Hu
5bcf730685 Updated MultiSessionCommand
updated:
- updated wording
- code refactoring
2020-08-14 00:54:51 +07:00
Setiawan Hu
80caf5e454 Updated TelegramAccountLoginCommand
updated:
- Asking the 2FA password as secret instead plain string
2020-08-14 00:53:24 +07:00
Setiawan Hu
84c85b8853 Fixing invalid file checker for existing TelegramSession model 2020-08-13 23:12:23 +07:00
Setiawan Hu
0b2840f819 Fixing invalid namespace for TelegramSession model 2020-08-13 23:11:53 +07:00
Setiawan Hu
2ef3077852 Added MadelineProtoFactory facade (Factory) 2020-08-13 02:43:41 +07:00
Setiawan Hu
1ddaf00c30 Refactoring MadelineProtoServiceProvider
added:
- registering the `madeline-proto:multi-session` artisan command

changed:
- using MadelineProtoFactory as the instance generator for both single and multi telegram session
2020-08-13 01:32:32 +07:00
Setiawan Hu
ddda52e786 Added MultiSessionCommand
this command is used for generating model + migration for storing the session file(s) location
2020-08-13 01:30:46 +07:00
Setiawan Hu
328eeebb47 Added MadelineProtoFactory class
This factory class is used for generating MadelineProto instance from given TelegramSession model instance, TelegramSession record id, or session file path

Note: all the danog/MadelineProto session file will be stored in `storage/app/telegram/` directory.
2020-08-13 01:29:39 +07:00
Setiawan Hu
e007b1c592 Updated MadelineProto class
added:
- added message method to return ClientMessages class (messages wrapper class)
2020-08-13 01:21:40 +07:00
Setiawan Hu
90e763b6f7 Updated TelegramAccountLoginCommand
Fixing undefined method error
2020-08-12 20:09:54 +07:00
Setiawan Hu
6f5e52d953 Updated MadelineProto wrapper class
updated:
- updated documentation
- code cleaning
2020-08-11 16:22:14 +07:00
Setiawan Hu
0b803be231 Initial commit 2020-07-09 23:35:37 +07:00