Behrang Noruzi Niya
04f51c3251
Add response parameters to error messages
2018-03-04 14:40:17 +03:30
Robert Vollmert
f8145e3a68
reply_markup is optional for InlineQueryResultGame
2018-01-11 22:41:45 +01:00
Syfaro
bb07769ea9
Bot API 3.5.
2017-12-29 13:22:53 -06:00
Syfaro
e840fa3b0f
Finish Bot API 3.4.
2017-12-29 13:06:58 -06:00
Syfaro
4ec899a62e
Merge remote-tracking branch 'pr0head/master' into develop
2017-12-29 12:56:31 -06:00
Syfaro
ef374648bf
Bot API 3.3.
2017-12-29 01:17:15 -06:00
Syfaro
271adc4d97
Bot API 3.2, introduce Request to replace APIResponse methods.
2017-12-29 00:44:47 -06:00
Syfaro
e97c2417c9
Resolve some linter issues.
2017-12-28 23:17:32 -06:00
Zaur Abdulgalimov
bd1aa7e6ef
User:IsBot & RestrictChatMember:UntilDate
2017-11-09 18:41:22 +03:00
pr0head
dffc002f9e
Fix struct for InlineQueryResultLocation
2017-10-17 19:00:20 +03:00
pr0head
5cbecde819
Added `editMessageLiveLocation` and `stopMessageLiveLocation` methods
2017-10-14 01:05:24 +03:00
pr0head
65947daaab
Added `live_period` for Location
2017-10-13 17:00:04 +03:00
Henner
5f5f94047c
Rewrite message command methods to use entities
...
Since the Telegram-API considers "/foo-bar" to be a command entity
"/foo", we had choose a behaviour for the
CommandArguments() method.
The specification (https://core.telegram.org/bots#commands ) mandates a
space after the command name, so we decided to skip the first character
following the command entity.
However, Telegram clients render "/foo-bar" as if "/foo" was the command
and "-bar" additional text, so this alternative should be remembered.
2017-10-07 17:15:51 +02:00
Kataklysm
6d61ed4977
fix InlineKeyboardButton struct
2017-07-25 21:01:48 +03:00
Syfaro
ebe7b8254e
Merge pull request #105 from MrYadro/chat_member
...
Add new fields for ChatMember
2017-07-02 15:43:42 -05:00
MrYadro
32f5ed8433
new fields for Chat p2
2017-06-30 20:31:54 +07:00
MrYadro
0c8884bcba
new fields for Chat
2017-06-30 20:29:59 +07:00
MrYadro
b4a811b756
new fields for ChatMember
2017-06-30 20:22:57 +07:00
MrYadro
bedb16b2e0
minor changes
2017-06-03 21:19:09 +07:00
MrYadro
41814af2a0
Fixes and comments
2017-06-03 13:59:40 +07:00
MrYadro
42d132b90a
Payments API
2017-06-03 03:18:42 +07:00
mamal
f1ed87c281
feat(types): add language code to user struct
2017-05-22 12:40:04 +04:30
Arman
ecc60d21b7
Added VideoNote support
2017-05-22 02:34:12 +04:30
Давид Мзареулян
963864785d
Remove double call of strings.SplitN
2017-03-18 14:42:30 +03:00
Syfaro
3293f3ad84
Change visibility of UpdatesChannel, closes #76
2017-01-26 11:43:37 -06:00
Sebastian Schepens
71e0c25410
Fix InlineKeyboardButton type
2016-12-26 11:59:52 -03:00
lupoDharkael
66446d51ff
Added updatesChannel type with Clear() method
2016-12-15 22:51:58 +01: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
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
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
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
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
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
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
67ab387694
Fix broken inline queries.
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
pyed
989089df9b
InlineQueryResultArticle.ParseMode is not required
2016-02-25 22:12:51 +03:00
Syfaro
f2b36838e6
Add new inline query related feature.
2016-01-04 10:31:40 -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
Gleb Sinyavsky
1cede9cf45
Some helper methods added to Message. Some tests added. Small fixes
2015-12-13 20:31:59 +03:00
Syfaro
c3304ed8a7
update Message struct for new fields, add IsSuperGroup to Chat struct
2015-12-09 20:08:37 -06: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
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
Syfaro
e1a0a819c0
Added a few helper methods for the type of Chat on the Chat type
2015-10-09 09:31:00 -05:00
Syfaro
8e71d1db32
New Telegram Chat type, instead of previous UserOrGroupChat type
2015-10-09 09:26:38 -05:00
Syfaro
7092cefe65
add missing const
2015-09-19 13:42:50 -05:00
Syfaro
1bbe8c7bd2
fix broken const
2015-09-19 13:41:55 -05:00
Syfaro
6b9324ca39
helper method to generate a link for a file
2015-09-19 10:53:32 -05:00
Syfaro
1bceea1ca5
new getFile and File types from Telegram Bot API update
2015-09-19 10:46:20 -05:00
Jqs7
ae7c1b4e22
merge upstream
2015-08-18 09:48:17 +08:00
Jqs7
d537d26a2b
update to latest telegram bot api
2015-08-18 09:40:42 +08:00
Emad Ghasemi
ca93bb337c
Fixed Message.NewChatPhoto
2015-08-05 21:31:41 +04:30
Emad Ghasemi
91e1825b16
Update types.go
2015-08-05 21:30:54 +04:30
Jqs7
96a104444e
Updated to the last tgbot API
2015-08-05 09:44:09 +08:00
Syfaro
196f515db7
helper functions on message
2015-07-31 13:40:42 -04:00
Syfaro
f605a516c0
string function for user
2015-07-31 03:22:01 -04:00
Nikita Vorobei
fee84ee239
Fix parameter name
2015-07-22 19:10:27 +03:00
Syfaro
a17651c8fe
fix all golint errors, add info about audio uploads
2015-06-26 01:53:20 -05:00
Syfaro
9cf4f13772
change focus from bot to just bindings, code cleanup
2015-06-25 23:26:24 -05:00