Commit Graph

447 Commits (66dc9e824616b3bb3c6531d9411e622417bd4f03)

Author SHA1 Message Date
LeeMyeongJun cbf597eaf6 add error try catch in the configs MessageConfig values method 2016-11-30 21:41:10 +09:00
Syfaro 0a57807db7 Additional changes for Telegram API updates. 2016-11-24 23:50:35 -06:00
Syfaro f3a33ae6f1 Add support for games, among other updates. 2016-10-03 10:47:19 -05:00
Syfaro a7f48eb2dd Merge pull request #55 from tucher/master
Fixed BaseEdit.values
2016-08-01 13:36:25 -05:00
tucher a1204e7ea1 Fixed BaseEdit.values
chat_id and message_id should be sent only if there is no
inline_message_id (and vice versa), according to documentation.
2016-08-01 20:30:30 +03:00
Syfaro 4f996f7f27 Add NewInlineQueryResultPhotoWithThumb for #54. 2016-07-26 13:44:48 -05:00
Syfaro 1daed40422 Allow negative Offset values for GetUpdates, closes #51. 2016-06-29 12:37:30 -05:00
Syfaro 13f31854a2 Clean up some formatting. 2016-06-02 15:57:39 -05:00
Syfaro 7f37376fd0 Merge pull request #49 from llorephie/master
Add support for Markdown/HTML in NewInlineQueryResultArticle
2016-06-02 15:55:32 -05:00
Maxim Martyanov 862c67342c
Rollback for backward compatibility, added NewInlineQueryResultArticleMarkdown and NewInlineQueryResultArticleHTML 2016-06-02 23:41:55 +03:00
Maxim Martyanov 0a1b57cdf9
Update bot_test.go for support updated NewInlineQueryResultArticle 2016-06-02 22:53:44 +03:00
Maxim Martyanov 64f1ab7a89
Add support for Markdown/HTML in NewInlineQueryResultArticle 2016-06-02 22:42:05 +03:00
Syfaro 217764ba45 Add new chat methods for Bot API 2.1. 2016-05-22 10:16:28 -05:00
Syfaro 3ed6b6ac16 EditedMessage to Update, EditDate to Message, User to MessageEntity. 2016-05-22 09:37:43 -05:00
Syfaro bdaf1dc07c Add field for Emoji on Sticker and ForwardFromChat for Message. 2016-05-20 20:34:56 -05:00
Syfaro bf6e165e92 Fix more ReplyMarkup items in edits, finishes #43, closes #47. 2016-04-27 08:00:19 -05:00
Syfaro 7bf755956c Add NewMessageToChannel for #45. 2016-04-22 10:03:00 -05:00
Syfaro 369364b8c6 Merge pull request #44 from jqs7/master
simplify append loop
2016-04-21 06:37:46 -05:00
Jqs7 b98d5c9b34 simplify append loop 2016-04-21 15:40:12 +08:00
Syfaro ab63d49cc9 Merge pull request #43 from xboston/fix-editMessageReplyMarkup
fix EditMessageReplyMarkupConfig
2016-04-19 07:40:08 -05:00
boston 890c908551 fix EditMessageReplyMarkupConfig 2016-04-19 12:19:36 +05:00
Syfaro a2483eb98b Add helpers for callback queries. 2016-04-14 16:30:41 -05:00
Syfaro 0d1bc8c4e2 Add helpers for regular and inline keyboards. 2016-04-14 15:59:28 -05:00
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