Commit Graph

406 Commits (30c412fbe58ee9e0353028213807b01090f9565c)

Author SHA1 Message Date
Syfaro 14727677a5 Add example for responding to inline queries. 2016-03-30 09:04:15 -05:00
Syfaro 585057e7de Remove a stray word from UserProfilePhotos comment. 2016-03-30 09:04:15 -05:00
Syfaro af934e3e10 Fix the From field in the Inline Query. 2016-03-30 09:04:15 -05:00
Syfaro f33a4eede1 Add support for messages with disabled notifications. 2016-03-30 09:04:15 -05:00
Syfaro 36588c50f4 Add ModeHTML for HTML message formatting. 2016-03-30 09:04:15 -05:00
Syfaro 645b5629ab Add helpers for creating inline query results. 2016-03-30 09:04:15 -05:00
Syfaro 67ab387694 Fix broken inline queries. 2016-03-30 09:04:15 -05:00
Syfaro baf170548c Update README for v2 2016-03-30 09:04:15 -05:00
Syfaro b7c9b50020 Don't return slash in Command, strip bot name if needed. 2016-03-30 09:04:15 -05:00
Syfaro 5df7aae78f Remove log import. 2016-03-30 09:04:15 -05:00
Syfaro 3dbc5f3892 Remove other deprecated method. 2016-03-30 09:04:15 -05:00
Syfaro 80e30d7c19 Stop returning useless http.Handler from ListenForWebhook. 2016-03-30 09:04:15 -05:00
Syfaro 08d7c01637 Rename all errors to be prefixed with Err. 2016-03-30 09:04:15 -05:00
Syfaro 6c84cd1fbb Replace bad file type error with constant 2016-03-30 09:04:15 -05:00
Syfaro 99262cf76c Remove deprecated methods. 2016-03-30 09:04:15 -05:00
Syfaro 67abf47ae8 Merge pull request #36 from pyed/patch-1
InlineQueryResultArticle.ParseMode is not required
2016-02-25 13:38:48 -06:00
pyed 989089df9b InlineQueryResultArticle.ParseMode is not required 2016-02-25 22:12:51 +03:00
Syfaro a7f8b9c291 Mention animated GIFs must be sent as document in NewPhotoUpload. 2016-01-08 09:16:47 -06:00
Syfaro f2b36838e6 Add new inline query related feature. 2016-01-04 10:31:40 -06:00
Syfaro 10c5261d91 Clarify README for packages 2016-01-03 18:14:16 -06:00
Syfaro 2105871843 Update package name 2016-01-03 18:12:03 -06:00
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