Syfaro
e8dfdeeeb9
Major documentation and code cleanup.
...
All documention is now less than 80 characters wide. Old methods now
show deprecated warnings. The Values/Params/Method functions are now
private. Types and configs have required and optional comments on
them. Simplified some function logic.
2016-01-03 16:54:24 -06:00
Syfaro
1ae7803be0
Add untested support for Inline Queries.
2016-01-01 00:10:28 -06:00
Gleb Sinyavsky
4037dbed02
Lint issues fixed
2015-11-21 19:43:24 +03:00
Gleb Sinyavsky
d638757359
go fmt
2015-11-21 17:39:19 +03:00
Gleb Sinyavsky
5859ba3970
Small updates. Readme updated
2015-11-21 17:31:59 +03:00
Gleb Sinyavsky
2a5cf8652d
Updates channel removed from BotAPI
2015-11-21 17:26:28 +03:00
Gleb Sinyavsky
af029c366c
Bot IsMessageToMe method
2015-11-21 16:33:58 +03:00
Gleb Sinyavsky
399d665b0a
Typo fix
2015-11-21 16:28:25 +03:00
Gleb Sinyavsky
6873dde3ab
Bot getFileDirectUrl method added
2015-11-21 16:25:59 +03:00
Gleb Sinyavsky
c4515aa388
Small fixes
2015-11-21 14:44:26 +03:00
Gleb Sinyavsky
9644984dae
removeWebhook method added.
2015-11-21 14:26:39 +03:00
Gleb Sinyavsky
53dd9f6367
Fixes, tests improved
2015-11-21 14:22:08 +03:00
Gleb Sinyavsky
da026b435e
Totally new, universal API
2015-11-20 17:55:32 +03:00
Gleb Sinyavsky
d3f7ac7197
Refactorings
2015-11-20 17:31:01 +03:00
Gleb Sinyavsky
9361631c6d
Refactoring
2015-11-20 17:08:53 +03:00
Gleb Sinyavsky
d8ba9c84c8
Refactoring
2015-11-20 15:01:05 +03:00
Gleb Sinyavsky
92ce2aad94
Refactoring, drying
2015-11-20 14:50:23 +03:00
Gleb Sinyavsky
4610c561c6
Drying
2015-11-20 14:19:37 +03:00
Gleb Sinyavsky
57a07c0c22
Refactoring and DRYing
2015-11-20 14:06:51 +03:00
Gleb Sinyavsky
13a8bd025c
Refactorings
2015-11-20 13:42:26 +03:00
Syfaro
e48e6416e7
allow passing a []byte or io.Reader to upload functions, closes #20
2015-09-07 11:20:43 -05:00
Syfaro
b0c8029a0f
fix wrong capitalization of a function name
2015-07-28 12:18:50 -04:00
Raul Santos
3101266b61
Fixed NewBotAPIWithClient
2015-07-28 18:14:13 +02:00
Raul Santos
2483f04397
Separate NewBotAPI from NewBotAPIwithClient
2015-07-28 13:00:31 +02:00
Raul Santos
fc8cb6e039
Client is now a pointer
2015-07-28 11:18:49 +02:00
Raul Santos
8249dd6a93
Few bug fixes
2015-07-27 00:22:10 +02:00
Raul Santos
612584dbd3
Ability to pass a client to the bot
...
Changed every instance of a DefaultClient to a Client stored in the bot.
2015-07-27 00:16:45 +02:00
Syfaro
a17651c8fe
fix all golint errors, add info about audio uploads
2015-06-26 01:53:20 -05:00
Syfaro
90c48448d2
more comments on things
2015-06-26 01:19:29 -05:00
Syfaro
cea0df2dae
fix silly mistakes
2015-06-25 23:45:56 -05:00
Syfaro
d789456a8e
load self when created
2015-06-25 23:44:14 -05:00
Syfaro
9cf4f13772
change focus from bot to just bindings, code cleanup
2015-06-25 23:26:24 -05:00
Syfaro
3940cb5953
setup functions, plugin enabler, reply markup, example commands
2015-06-25 16:15:28 -05:00
Syfaro
567a37868d
help plugin, working on plugin api
2015-06-25 14:20:02 -05:00
Syfaro
059baffbfb
working file uploads, starting to clean up code
2015-06-25 11:25:02 -05:00
Syfaro
434756c165
initial commit, some api methods and structs for everything
2015-06-25 00:34:05 -05:00