Commit Graph

49 Commits

Author SHA1 Message Date
7a0153a139
Documentation rework (#349)
* Documentation rework

* Apply fixes from StyleCI

* Documentation fixes

* Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite

* Apply fixes from StyleCI

* Logging fixes

* Build docs

* Add methods to modify start template, bugfix to logging and keyboard conversion

* Add TL documentator

* Document MTProto methods

* Documenting methods...

* 7% documented

* Bugfixes

* Update docs

* Update docs

* Simplify file management

* Implement automatic object conversion for media, and more awesome stuff

* Implement automatic object conversion for media, and more awesome stuff

* Implement event update handler and file upload/download callback

* Auto-detect mime type, duration, width and height of media

* Update docs

* Document new file functions

* Fix links

* Fix links

* Update bot.php to use event loop

* Implement webhook update handler and forking in main loop

* Build docs

* Better docs

* Fixes to secret chats

* Almost finished updating docs

* Bugfixes, implemented infinite loop for loop() method, almost finished docs

* Finish writing docs

* Add automatic documentation builder script

* Finished writing docs
2018-03-20 12:48:05 +01:00
Daniil Gentili
34592383ed Fixes for bad message notifications, ignore constructors from old layers and different flags 2018-02-28 12:43:45 +00:00
Daniil Gentili
0cd071cdb8 Removed MTProto constructors from API scheme 2018-02-20 21:09:28 +00:00
e4a326e552
Http refactor (#307)
* refactor

* Apply fixes from StyleCI

* Implement https and http transport, add support for new req_pq_multi, send pending acks and objects in containers along with the next method call, remove dependency on the socket extension.

* Apply fixes from StyleCI

* Make types with empty constructors optional, fix phar archives (fixes #217)

* Apply fixes from StyleCI

* Update to layer 75

* Update github pages gemfile.lock
2018-02-18 14:18:18 +01:00
Daniil Gentili
deceb018bc Docufix 2017-12-21 09:52:23 +00:00
Daniil Gentili
d4a5153b4d Update docs 2017-12-10 10:33:03 +00:00
Daniil Gentili
3aa60e8d31 Updated to layer 73 2017-11-15 12:41:58 +00:00
Daniil Gentili
7c205811ff Update to layer 72 2017-10-14 09:50:46 +00:00
Daniil Gentili
8600a2fcba docufix 2017-09-29 15:50:59 +02:00
Daniil Gentili
da57215397 Update TD scheme 2017-08-25 15:05:53 +02:00
Daniil Gentili
68749f63e1 Updated to layer 71, added getSignalBarsCount to php-libtgvoip docs 2017-08-21 18:22:02 +02:00
Daniil Gentili
9d77dc0919 AMP fixes 2017-08-20 09:05:56 +00:00
Daniil Gentili
116271ca85 Docufix 2017-08-18 18:10:30 +02:00
Daniil Gentili
54f69ece92 Bugfixes 2017-07-24 01:32:29 +02:00
Daniil Gentili
8b7502d9d2 More doc fixes 2017-07-23 16:33:46 +02:00
Daniil Gentili
a44e7a65d0 Added call and PWRTelegram docs 2017-07-23 16:11:02 +02:00
Daniil Gentili
70a85cb6be Updated to layer 68 2017-06-30 15:36:33 +02:00
Daniil Gentili
6459cf72fd Added missing methods 2017-06-03 20:19:05 +02:00
Daniil Gentili
0027f399a5 Update docs 2017-06-03 16:46:49 +02:00
Daniil Gentili
338b64fafd Another regression 2017-05-28 03:49:19 +01:00
Daniil Gentili
86c07f705d Performance fixes, bugfixes 2017-05-27 22:21:14 +01:00
Daniil Gentili
b67ce553fc Now byte strings are actually objects, everything is even faster, and more thread safe. Modifying the settings is even easier now. 2017-05-18 11:12:33 +01:00
Daniil Gentili
bb925ff4a4 Style fixes 2017-05-10 11:05:34 +01:00
Daniil Gentili
1eb2fc0b4f fix 2017-04-21 13:27:04 +02:00
Daniil Gentili
f2602fb377 docfix 2017-04-21 13:26:13 +02:00
Daniil Gentili
2bf609d044 Updated to layer 66, added CDN file download logic, added option to send messages longer than 4096 chars, fixed documentation, fixed bugs 2017-04-21 13:13:24 +02:00
Daniil Gentili
d8292e9add Documentation fixes, added bot_gif file id constructor 2017-04-10 13:49:32 +02:00
Daniil Gentili
1c81d9dfe7 Fixed secret chats, implemented seqno checking in secret chats, made 32 bit fixes (with maths+++) and general bugfixes 2017-03-31 17:35:20 +02:00
Daniil Gentili
bd1703d6fb Fixes to documentation 2017-03-11 20:06:30 +01:00
Daniil Gentili
dfd8bf93da HUGE bugfixes and code reorganization, implemented secret chats and a lua wrapper 2017-03-11 19:54:51 +01:00
danogentili
23a6ce1383 Small documentation fixes 2017-02-12 20:32:28 +03:00
Daniil Gentili
080942534e Added partial support for http/https connectins, cleaned up docs, updated to layer 62. 2017-01-25 23:16:22 +01:00
Daniil Gentili
c1516bf75b Fixes to the documentation 2017-01-19 23:02:27 +01:00
Daniil Gentili
95ebf6147b Added docs for layer 18, 23, 25, 27, 33, 38, 40, 41, 42, 44, 45, 46, 51, 53, 55 2017-01-02 20:04:36 +00:00
Daniil Gentili
ec23e14c68 Written module to translate tl scheme files, turned documentation script into a class, separated ed the MTProto and telegram docs, added layer 46 and layer 55 docs 2017-01-02 18:50:37 +00:00
danogentili
bfc665ace0 Fixed bugs 2016-12-30 23:21:36 +03:00
Daniil Gentili
d2d54398c4 Fixed update handling, now usernames or bot api ids can be passed as parameters instead of Peer, inputPeer, Channel, User (and other) objects, fixed bugs and typos. 2016-12-30 16:32:25 +01:00
Daniil Gentili
34865686da Working on updates 2016-12-24 17:20:45 +01:00
Daniil Gentili
884232aec3 random_ids are now computed automagically, added methods to ease working with peers and updated docs 2016-12-23 21:06:38 +01:00
Daniil Gentili
cfc7cb4e04 Started writing update handlers 2016-12-23 12:19:13 +01:00
Daniil Gentili
a6bf4f668d Added attributes 2016-12-20 13:32:11 +01:00
Daniil Gentili
ffb8f2267c Improved documentation generation 2016-12-20 13:15:22 +01:00
Daniil Gentili
d664dd3bb3 Fixed mistake in constructors index 2016-12-19 23:59:46 +01:00
danogentili
5fa11f52ef Added ignored files 2016-12-19 21:43:50 +03:00
danogentili
e3a5cf5ba1 Fixing markdown syntax 2016-12-19 20:56:05 +03:00
danogentili
5ba1457d0a Fixing markdown syntax 2016-12-19 20:35:27 +03:00
danogentili
7094200f40 Improved documentation generation 2016-12-19 19:48:27 +03:00
danogentili
f88c9ab529 Trying to make docs work with the cayman theme 2016-12-19 19:13:16 +03:00
danogentili
04a2504c17 Fixed a few bugs, switched to traits for MTProtoTools modules, written documentation creator and added documentation 2016-12-19 18:56:52 +03:00