Syfaro
18510df3c9
Add some of the new methods and types.
9 years ago
Syfaro
67ab387694
Fix broken inline queries.
9 years ago
Syfaro
80e30d7c19
Stop returning useless http.Handler from ListenForWebhook.
9 years ago
Syfaro
08d7c01637
Rename all errors to be prefixed with Err.
9 years ago
Syfaro
6c84cd1fbb
Replace bad file type error with constant
9 years ago
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.
10 years ago
Syfaro
1ae7803be0
Add untested support for Inline Queries.
10 years ago
Gleb Sinyavsky
f8cc0d2aaa
Bot::QuickSend removed
10 years ago
Gleb Sinyavsky
1a3e995b37
QuickSend method added to bot
10 years ago
Gleb Sinyavsky
4037dbed02
Lint issues fixed
10 years ago
Gleb Sinyavsky
d638757359
go fmt
10 years ago
Gleb Sinyavsky
5859ba3970
Small updates. Readme updated
10 years ago
Gleb Sinyavsky
2a5cf8652d
Updates channel removed from BotAPI
10 years ago
Gleb Sinyavsky
af029c366c
Bot IsMessageToMe method
10 years ago
Gleb Sinyavsky
399d665b0a
Typo fix
10 years ago
Gleb Sinyavsky
6873dde3ab
Bot getFileDirectUrl method added
10 years ago
Gleb Sinyavsky
c4515aa388
Small fixes
10 years ago
Gleb Sinyavsky
9644984dae
removeWebhook method added.
10 years ago
Gleb Sinyavsky
53dd9f6367
Fixes, tests improved
10 years ago
Gleb Sinyavsky
da026b435e
Totally new, universal API
10 years ago
Gleb Sinyavsky
d3f7ac7197
Refactorings
10 years ago
Gleb Sinyavsky
9361631c6d
Refactoring
10 years ago
Gleb Sinyavsky
d8ba9c84c8
Refactoring
10 years ago
Gleb Sinyavsky
92ce2aad94
Refactoring, drying
10 years ago
Gleb Sinyavsky
4610c561c6
Drying
10 years ago
Gleb Sinyavsky
57a07c0c22
Refactoring and DRYing
10 years ago
Gleb Sinyavsky
13a8bd025c
Refactorings
10 years ago
Syfaro
e48e6416e7
allow passing a []byte or io.Reader to upload functions, closes #20
10 years ago
Syfaro
b0c8029a0f
fix wrong capitalization of a function name
10 years ago
Raul Santos
3101266b61
Fixed NewBotAPIWithClient
10 years ago
Raul Santos
2483f04397
Separate NewBotAPI from NewBotAPIwithClient
10 years ago
Raul Santos
fc8cb6e039
Client is now a pointer
10 years ago
Raul Santos
8249dd6a93
Few bug fixes
10 years ago
Raul Santos
612584dbd3
Ability to pass a client to the bot
...
Changed every instance of a DefaultClient to a Client stored in the bot.
10 years ago
Syfaro
a17651c8fe
fix all golint errors, add info about audio uploads
10 years ago
Syfaro
90c48448d2
more comments on things
10 years ago
Syfaro
cea0df2dae
fix silly mistakes
10 years ago
Syfaro
d789456a8e
load self when created
10 years ago
Syfaro
9cf4f13772
change focus from bot to just bindings, code cleanup
10 years ago
Syfaro
3940cb5953
setup functions, plugin enabler, reply markup, example commands
10 years ago
Syfaro
567a37868d
help plugin, working on plugin api
10 years ago
Syfaro
059baffbfb
working file uploads, starting to clean up code
10 years ago
Syfaro
434756c165
initial commit, some api methods and structs for everything
10 years ago