Commit Graph

38 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
33227dd912 Updating php dependency 2020-12-07 23:33:06 +07:00
Setiawan Hu
5fe5f216a1 Adding README thanks section 2020-11-21 00:38:30 +07:00
Setiawan Hu
a7e5035a64 Updating README.md 2020-11-18 21:26:24 +07:00
Setiawan Hu
4333fa58ef Adding .gitignore file 2020-10-11 23:35:17 +07:00
Setiawan Hu
5316c3922e Adding support for laravel 8 2020-10-11 23:35:11 +07:00
Setiawan Hu
4e664b6545 Adding default value for Telegram api credential config value 2020-10-11 23:34:58 +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
d01032f312 Updated telegram.php config file
updated:
- split the log file to each day to avoid "hang" when the log file size is exceeding 3 MB
2020-08-16 23:18:49 +07:00
Setiawan Hu
aa75d84f9e Revert "Updated telegram.php config file"
This reverts commit 8e393725
2020-08-16 23:09:25 +07:00
Setiawan Hu
8e39372515 Updated telegram.php config file
updated:
- split the log file to each day to avoid "hang" when the log file size is exceeding 2 MB
2020-08-16 23:01:38 +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
5b404503fc Updated README.md 2020-08-13 03:23:22 +07:00
Setiawan Hu
83ffe0eb08 Updated telegram.php config file 2020-08-13 03:14:50 +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
f8a4d63caf Added illuminate/database dependency 2020-08-13 01:09:42 +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
90d864c701 Updated composer.json 2020-08-11 16:21:11 +07:00
Setiawan
cf118df6ed
Update README.md 2020-07-12 23:30:22 +07:00
Setiawan
bdcff9ecb2
Create LICENSE 2020-07-12 23:28:02 +07:00
Setiawan Hu
7c89ccb2fe Removing temporary license file
Need to do some research for defining the right license
2020-07-09 23:38:40 +07:00
Setiawan Hu
0b803be231 Initial commit 2020-07-09 23:35:37 +07:00