Zaur Abdulgalimov
bd1aa7e6ef
User:IsBot & RestrictChatMember:UntilDate
8 years ago
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.
8 years ago
Kataklysm
6d61ed4977
fix InlineKeyboardButton struct
8 years ago
MrYadro
32f5ed8433
new fields for Chat p2
8 years ago
MrYadro
0c8884bcba
new fields for Chat
8 years ago
MrYadro
b4a811b756
new fields for ChatMember
8 years ago
MrYadro
bedb16b2e0
minor changes
8 years ago
MrYadro
41814af2a0
Fixes and comments
8 years ago
MrYadro
42d132b90a
Payments API
8 years ago
mamal
f1ed87c281
feat(types): add language code to user struct
8 years ago
Arman
ecc60d21b7
Added VideoNote support
8 years ago
Давид Мзареулян
963864785d
Remove double call of strings.SplitN
8 years ago
Syfaro
3293f3ad84
Change visibility of UpdatesChannel, closes #76
9 years ago
Sebastian Schepens
71e0c25410
Fix InlineKeyboardButton type
9 years ago
lupoDharkael
66446d51ff
Added updatesChannel type with Clear() method
9 years ago
Syfaro
0a57807db7
Additional changes for Telegram API updates.
9 years ago
Syfaro
f3a33ae6f1
Add support for games, among other updates.
9 years ago
Syfaro
217764ba45
Add new chat methods for Bot API 2.1.
9 years ago
Syfaro
3ed6b6ac16
EditedMessage to Update, EditDate to Message, User to MessageEntity.
9 years ago
Syfaro
bdaf1dc07c
Add field for Emoji on Sticker and ForwardFromChat for Message.
9 years ago
Syfaro
ed7fe62451
Fix incorrect float32.
9 years ago
Syfaro
e8e55fe41a
Add more omitempty.
9 years ago
Syfaro
c0eb5db6c3
Add more tests.
9 years ago
Syfaro
289f7ef6ad
Add more omitempty, as null values create errors.
9 years ago
Syfaro
5b58a2a701
Omitempty for ReplyMarkup.
9 years ago
Syfaro
1ceb22b273
Add helpers, change some items to pointers, add more inline results.
9 years ago
Syfaro
109da1a19f
Update some types.
9 years ago
Syfaro
a92f88ce2c
Add some missing comments.
9 years ago
Syfaro
db12d94016
Add kick and unban methods, update some inline query result responses.
9 years ago
Syfaro
18510df3c9
Add some of the new methods and types.
9 years ago
Slava
511cc7406d
Fix UserProfilePhotos type
...
Photos field should be Array of Array of PhotoSize.
9 years ago
Syfaro
b971c58157
Update for larger Chat IDs.
9 years ago
Syfaro
585057e7de
Remove a stray word from UserProfilePhotos comment.
9 years ago
Syfaro
af934e3e10
Fix the From field in the Inline Query.
9 years ago
Syfaro
67ab387694
Fix broken inline queries.
9 years ago
Syfaro
b7c9b50020
Don't return slash in Command, strip bot name if needed.
9 years ago
Syfaro
5df7aae78f
Remove log import.
9 years ago
Syfaro
3dbc5f3892
Remove other deprecated method.
9 years ago
pyed
989089df9b
InlineQueryResultArticle.ParseMode is not required
9 years ago
Syfaro
f2b36838e6
Add new inline query related feature.
10 years ago
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.
10 years ago
Syfaro
1ae7803be0
Add untested support for Inline Queries.
10 years ago
Gleb Sinyavsky
1cede9cf45
Some helper methods added to Message. Some tests added. Small fixes
10 years ago
Syfaro
c3304ed8a7
update Message struct for new fields, add IsSuperGroup to Chat struct
10 years ago
Gleb Sinyavsky
4037dbed02
Lint issues fixed
10 years ago
Gleb Sinyavsky
d638757359
go fmt
10 years ago
Gleb Sinyavsky
2a5cf8652d
Updates channel removed from BotAPI
10 years ago
Gleb Sinyavsky
6da34a6ba5
Message IsCommand method added
10 years ago
Syfaro
e1a0a819c0
Added a few helper methods for the type of Chat on the Chat type
10 years ago
Syfaro
8e71d1db32
New Telegram Chat type, instead of previous UserOrGroupChat type
10 years ago