Commit Graph

284 Commits (a1b3e4187891a214fb8d67ed937444145d569d23)

Author SHA1 Message Date
Yan Mihailov a1b3e41878 added custom logger and SetLogger func 2018-08-07 00:15:37 +03:00
Syfaro 4c16a90966
Merge pull request #179 from CssHammer/master
Add ParseMode to PhotoConfig
2018-06-02 03:01:29 -05:00
CssHammer 60668682f7 Add ParseMode to PhotoConfig 2018-05-23 22:12:20 +03:00
Syfaro 212b154115
Merge pull request #169 from empetrone/add-sticker-pack-name
Parse sticker pack name
2018-04-28 13:50:02 -05:00
Syfaro eafee51d2a
Merge pull request #166 from VOID001/del-patch
Add helper function NewDeleteMessage
2018-04-28 13:49:37 -05:00
Emanuele Rocco Petrone 25ef323a6b Parse sticker pack name 2018-04-28 00:31:17 +02:00
Jianqiu Zhang 32775370ac
Add NewDeleteMessage
Signed-off-by: Jianqiu Zhang <zhangjianqiu13@gmail.com>
2018-04-22 18:40:58 +08:00
Kirill Zhuharev 0e0af0c480 fix #159 2018-03-28 16:10:29 +03:00
Syfaro 309f2dd87f Minor code quality improvements. 2018-03-26 11:54:02 -05:00
Syfaro 102c3104f4
Merge pull request #141 from scbizu/master
[proposal]check telegram webhook tls handshake
2018-03-26 11:24:12 -05:00
Syfaro 38681a48d1
Merge pull request #153 from behrang/master
Add response parameters to error messages
2018-03-26 11:19:46 -05:00
Syfaro 690363a5f8
Merge pull request #152 from mr-linch/master
Add setChatTitle and setChatDescription methods
2018-03-05 17:23:36 -06:00
Oleksandr Savchuk a36af7a672 add deleteChatPhoto method 2018-03-05 17:12:56 +02:00
Oleksandr Savchuk 57be988011 add setChatPhoto method 2018-03-05 17:05:32 +02:00
Behrang Noruzi Niya 04f51c3251 Add response parameters to error messages 2018-03-04 14:40:17 +03:30
Oleksandr Savchuk 6e69f99d11 add setChatTitle and setChatDescription methods 2018-03-03 20:20:03 +02:00
Syfaro 5435d1d8ea
Merge pull request #145 from robx/master
make ChatID int64 for SetGameScoreConfig
2018-01-12 14:35:45 -06:00
Robert Vollmert 9e8d16e1a8 make ChatID int64 for SetGameScoreConfig
It's int64 everywhere else.
2018-01-12 12:13:21 +01:00
Syfaro af15ab1ca7
Merge pull request #144 from robx/master
reply_markup is optional for InlineQueryResultGame
2018-01-11 15:55:17 -06:00
Robert Vollmert f8145e3a68 reply_markup is optional for InlineQueryResultGame 2018-01-11 22:41:45 +01:00
Syfaro 6f2d022476
Merge pull request #142 from williamchange/master
minor typo in helpers.go
2018-01-08 21:57:55 -06:00
Lim Ming Wei 3b0c031730 minor typo in helpers.go 2018-01-09 11:51:17 +08:00
scnace 9b7184fa79 check telegram webhook tls handshake 2018-01-08 02:10:50 +08:00
zhuharev 2022d04b94
fix tests, linter errors and fmt 2017-11-09 21:51:50 +03:00
zhuharev 87b8e431a9 Merge branch 'abdulgalimov-bugfix' 2017-11-09 21:45:36 +03:00
Zaur Abdulgalimov 5dbfec17f3 test User:IsBot 2017-11-09 19:46:11 +03:00
Zaur Abdulgalimov bd1aa7e6ef User:IsBot & RestrictChatMember:UntilDate 2017-11-09 18:41:22 +03:00
zhuharev e6191af679
add doc message 2017-11-07 05:17:06 +03:00
zhuharev 6b5102fab5
fix debug printing 2017-10-31 02:34:34 +03:00
zhuharev 3cfc52c9c2
print full response when debug 2017-10-30 00:03:48 +03:00
Syfaro 846d467e14 Merge pull request #125 from Henner25/fix_message_command_functions
Rewrite message command methods to use entities
2017-10-07 12:26:42 -05:00
Henner b8425b053e Add missing tests 2017-10-07 18:06:20 +02:00
Henner c697a95948 Fix failing tests 2017-10-07 18:04:27 +02: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
Syfaro 9dda67c714 Merge pull request #115 from Lord-Protector/master
Add PinChatMessage and UnpinChatMessage methods
2017-08-05 22:56:32 -05:00
Lord-Protector cd9a9741d0 Create own supergroup with test already created bot and give it admin rights 2017-08-05 13:50:44 +03:00
Lord-Protector 3a60d28d73 Tests for PinChatMessage and UnpinChatMessage methods 2017-08-05 12:37:43 +03:00
Lord-Protector b24a37443a Add PinChatMessage and UnpinChatMessage methods 2017-08-05 12:29:06 +03:00
Syfaro 13c54dc548 Merge pull request #114 from Kataklysm/master
fix InlineKeyboardButton struct
2017-07-25 15:12:33 -05:00
Kataklysm 6d61ed4977 fix InlineKeyboardButton struct 2017-07-25 21:01:48 +03:00
Syfaro 3d983182a3 Merge pull request #111 from xrayid/master
Add exportChatInviteLink method
2017-07-17 13:35:43 -05:00
Mikhail Markov def5c3f6c9 Add exportChatInviteLink method 2017-07-17 20:48:51 +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
Syfaro c7a5e02799 Merge pull request #106 from MrYadro/chat_obj
New fields for Chat
2017-07-02 15:42:14 -05:00
MrYadro 4e059b5fbf
implement new methods for ChatMember 2017-07-01 11:34:09 +07: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
Syfaro b57800c534 Merge pull request #102 from mamal72/unban-chat-member-in-channels
Implement unban chat member for channels
2017-06-19 00:03:20 -05:00
Mohamad Jahani 12f3478326 feat(bot): implement unban chat member for channels 2017-06-18 21:34:17 +04:30