Commit Graph

174 Commits (0252f39e1763bb2e6ad2b3cb061f50ca6b80d127)

Author SHA1 Message Date
Syfaro 0252f39e17 Add missing t.Fail() 2016-04-14 14:04:35 -05:00
Syfaro e7b9f16e73 Add missing helpers, move helper tests to own file. 2016-04-14 14:00:45 -05:00
Syfaro ed7fe62451 Fix incorrect float32. 2016-04-14 13:28:38 -05:00
Syfaro e8e55fe41a Add more omitempty. 2016-04-14 13:21:26 -05:00
Syfaro c0eb5db6c3 Add more tests. 2016-04-13 17:06:18 -05:00
Syfaro 289f7ef6ad Add more omitempty, as null values create errors. 2016-04-13 15:45:51 -05:00
Syfaro 5b58a2a701 Omitempty for ReplyMarkup. 2016-04-13 09:30:52 -05:00
Syfaro ee1d537565 Add more helpers, update README for v4 release. 2016-04-13 09:01:46 -05:00
Syfaro 1ceb22b273 Add helpers, change some items to pointers, add more inline results. 2016-04-13 08:22:58 -05:00
Syfaro 109da1a19f Update some types. 2016-04-12 13:26:18 -05:00
Syfaro 595aba3dea Add sendContact method. 2016-04-12 13:02:08 -05:00
Syfaro b6130533a3 Add methods for editing messages. 2016-04-12 12:53:19 -05:00
Syfaro a92f88ce2c Add some missing comments. 2016-04-12 08:59:47 -05:00
Syfaro db12d94016 Add kick and unban methods, update some inline query result responses. 2016-04-12 08:56:05 -05:00
Syfaro 18510df3c9 Add some of the new methods and types. 2016-04-12 08:28:46 -05:00
Syfaro 5c46b08c56 Merge pull request #41 from m0sth8/m0sth8-patch-1
Fix UserProfilePhotos type
2016-04-10 11:09:06 -05:00
Slava 511cc7406d Fix UserProfilePhotos type
Photos field should be Array of Array of PhotoSize.
2016-04-09 21:30:16 +01:00
Syfaro b971c58157 Update for larger Chat IDs. 2016-03-30 09:04:15 -05:00
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