Commit Graph

285 Commits (af72b0a3dbea69429d85ead3ccc39e22f4b83eef)

Author SHA1 Message Date
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
Syfaro f219f3e9db Merge pull request #33 from zhulik/master
Some small helpers added to Message and Bot, tests
2015-12-16 07:56:30 -06:00
Gleb Sinyavsky d40f7f9703 Package name changed 2015-12-16 16:57:21 +03:00
Gleb Sinyavsky f8cc0d2aaa Bot::QuickSend removed 2015-12-16 11:38:39 +03:00
Gleb Sinyavsky 1a3e995b37 QuickSend method added to bot 2015-12-13 20:38:09 +03:00
Gleb Sinyavsky 1cede9cf45 Some helper methods added to Message. Some tests added. Small fixes 2015-12-13 20:31:59 +03:00
Gleb Sinyavsky eb6b784a5a mime_type and file_size added for file messages 2015-12-13 20:00:20 +03:00
Syfaro a274ce7a9f remove a useless test, add test for IsSuperGroup 2015-12-09 20:13:31 -06:00
Syfaro c3304ed8a7 update Message struct for new fields, add IsSuperGroup to Chat struct 2015-12-09 20:08:37 -06:00
Syfaro a835dc9a96 Mention Let's Encrypt in README, instead of generating own certs 2015-12-09 20:07:13 -06:00
Syfaro 6960b6fd79 Remove ReplyMarkup interface from MessageConfig, fixes #30 2015-11-25 09:08:03 -06:00
Syfaro 06d94aeeed mention changes in readme, say how to update apps for changes 2015-11-22 09:04:12 -06:00
Syfaro b034326d85 Merge pull request #29 from zhulik/master
Major overhaul to make everything easier to use
2015-11-22 08:49:36 -06:00
Gleb Sinyavsky 667b68e570 Package path changed before merge 2015-11-22 02:40:39 +03: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 6da34a6ba5 Message IsCommand method added 2015-11-21 16:43:39 +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 f8a3ac11b2 Small tests fix 2015-11-21 15:36:55 +03:00
Gleb Sinyavsky 653939995c Test refactored 2015-11-21 15:34:30 +03:00
Gleb Sinyavsky 0332f792db Readme updated 2015-11-21 14:59:58 +03:00
Gleb Sinyavsky 447115488b Travis added 2015-11-21 14:56:11 +03:00
Gleb Sinyavsky b8bc7b9939 Test example added 2015-11-21 14:53:00 +03:00
Gleb Sinyavsky 018990922c Readme update 2015-11-21 14:51:35 +03:00
Gleb Sinyavsky 45c6054aa7 Readme updated 2015-11-21 14:50:11 +03:00
Gleb Sinyavsky c4515aa388 Small fixes 2015-11-21 14:44:26 +03:00
Gleb Sinyavsky 207a1a08f2 Tests added 2015-11-21 14:36:43 +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 c67df95407 Tests added 2015-11-21 13:17:34 +03:00
Gleb Sinyavsky a192540b8c Many tests added. Small fixes 2015-11-20 20:26:12 +03:00
Gleb Sinyavsky e16094f76a Tests improved 2015-11-20 19:43:56 +03:00
Gleb Sinyavsky d0711736ec Test added, small improvements 2015-11-20 18:30:50 +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 54b9c7e14b Refactoring 2015-11-20 15:15:34 +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 a1207f6391 allow ChannelUsername instead of ChatID, fix replies with SendPhoto 2015-11-04 09:46:01 -06:00
Syfaro 0d2feed6c2 fix UploadFile not properly throwing an error when not Ok response 2015-10-26 08:02:46 -05:00
Syfaro e1a0a819c0 Added a few helper methods for the type of Chat on the Chat type 2015-10-09 09:31:00 -05:00