1
Commit Graph

52 Commits

Author SHA1 Message Date
Andrew Privalov
934a13aa87
api 8.2 (#144)
* api 8.2

* fix readme
2025-01-10 11:11:35 +03:00
negasus
6bbaef2579 fix unmarshal ChatBackground 2025-01-10 11:01:16 +03:00
Andrew Privalov
dda407358e
8.1 (#137)
* api 8.1

* readme
2024-12-19 15:12:11 +03:00
Andrew Privalov
a12a771e33
API v8.0 (#133)
* bot api 8.0

* readme
2024-11-18 11:37:50 +03:00
Andrew Privalov
7500be4241
v7.11 (#127) 2024-10-31 18:39:49 +03:00
Murat Dautov
e882a7189a
Fixes #125 (#126) 2024-10-21 11:44:53 +03:00
Andrew Privalov
581c533020
7.10 (#114)
* 7.10

* changelog
2024-09-13 15:43:05 +03:00
Andrew Privalov
b3b73e94e1
7.9 (#103)
* api 7.9

* changelog, readme
2024-08-14 16:43:42 +03:00
Andrew Privalov
8984ecd9d4
V7.6 (#102)
* add models.ParseModeMarkdownV1 const

* fix typo in readme

* add method SendPaidMedia

* add field PaidMedia

* add InvoicePayload to TransactionPartnerUser

* add PaidMedia

* remove comments from example

* add refunded_payment

* changelog, readme
2024-07-18 17:37:31 +03:00
Andrew Privalov
7a604116d3
7.5 (#98)
* api v7.5

* update readme, changelog
2024-06-24 13:13:37 +03:00
Andrew Privalov
79a3783161
7.4 (#86)
* add omitempty for `provider_token` fields

* add RefundStarPayment method

* add effect_id to message

* add message_effect_id

* add show_caption_above_media

* add show_caption_above_media

* add types for chatAction consts

* changelog, readme
2024-05-29 14:08:43 +03:00
negasus
95b8f8c9f2 add Marshal functions for struct with many types
- ChatBoostSource
- ChatBackground
- ChatMember
- MenuButton
- MaybeInaccessibleMessage
- ReactionType
- MessageOrigin
2024-05-22 17:14:55 +03:00
Andrew Privalov
267a217a31
support api 7.3 (#84) 2024-05-20 12:07:43 +03:00
Vasilii Morozov (Basil Morozov)
a8e8c134bb
Add UnmarshalJSON for InputFileString (#76)
* add UnmarshalJSON for InputFileString

* pointer recievers for inputFile implementations

* fix test
2024-04-08 11:50:37 +03:00
Andrew Privalov
d8831e7c5a
v7.2 (#74) 2024-04-02 18:09:36 +03:00
Andrew Privalov
e376830f99
- fix CallbackQuery.Message field type from InaccessibleMessage to MaybeInaccessibleMessage (#63) 2024-02-27 11:06:57 +03:00
Negasus
e87f2146b1 fix SetMessageReaction marshal func, fix get response for this method 2024-02-21 12:23:05 +03:00
Negasus
bed78c996b fix typo in json tag models.UsersShared for field UserIDs 2024-02-21 11:13:15 +03:00
Andrew Privalov
ceeb95e6f1
support API v7.1 (#61) 2024-02-19 11:56:20 +03:00
Negasus
427189da2c fix: add 'omitempty' to LinkPreviewOptions.URL 2024-01-15 11:05:16 +03:00
Andrew Privalov
96a4c359a7
v7.0 (#55)
* API v7.0

* readme
2024-01-10 15:16:04 +03:00
Andrew Privalov
8701e81a7d
Has spoiler input media (#43)
* add missed field HasSpoiler to InputMedia types

* changelog
2023-10-16 15:35:48 +03:00
Andrew Privalov
f04eaedb1c
6.9 (#40)
* Added the new administrator privileges can_post_stories, can_edit_stories and can_delete_stories to the classes ChatMemberAdministrator and ChatAdministratorRights.

* update PromoteChatMemberParams

* update WriteAccessAllowed

* update changelog, readme
2023-09-28 13:57:02 +03:00
Andrew Privalov
9ddae8e867
6.8 (#38) 2023-08-24 11:29:23 +03:00
Negasus
2d08a92e6a revert changes 2023-06-14 10:51:00 +03:00
Andrew Privalov
49f6f9c04a
fixes in BotCommandScope (#37)
* - add missed ChatID to BotCommandScopeChat
- add missed BotCommandScopeChatAdministrators.MarshalCustom

* changelog
2023-05-26 18:10:18 +03:00
Negasus
2a372259d5 add ChatAction type with consts for sendChatAction method 2023-05-22 11:06:24 +03:00
mbehboodian
4414d4d1c0
fix error parsing inline keyboard button click reply message (#30)
Signed-off-by: mbehboodian <29199390+xeptore@users.noreply.github.com>
2023-04-26 10:50:59 +03:00
Negasus
64ec7dcc4a change models.ReplyMarkup from any to interface 2023-04-24 13:24:19 +03:00
Andrew Privalov
d74b107d69
bot api 6.7 (#28) 2023-04-24 09:11:48 +03:00
Ilya Amelevich
2f7e30faf7
Fix MenuButtonWebApp to fit Telegram API (#21) 2023-03-19 20:33:54 +03:00
Andrew Privalov
83b28021a4
V6.6 (#20)
* api v6.6

* fix some tests on golangci lint

* update changelog and readme
2023-03-14 11:26:55 +03:00
Ilya Amelevich
4c7d74faf3
Change UserID type to int64 (#19) 2023-03-01 10:26:05 +03:00
Andrew Privalov
de923f1916
api 6.5 (#16) 2023-02-06 10:54:44 +03:00
Andrew Zhukovskiy
eba8c31e95
Changed some field data types to int64 (#11)
To fix crashes on 32-bit systems.
Also, it explicitly says so at https://core.telegram.org/bots/api
2023-01-13 17:18:22 +03:00
Negasus
1d0067f081 api 6.4 2023-01-10 11:18:24 +03:00
Andrew Privalov
44314d4b35
6.3 (#7)
* support 6.3 API

* update readme
2022-11-05 19:31:41 +03:00
Andrew Privalov
0dca12b7f1
v6.2 (#3) 2022-08-23 13:24:20 +03:00
Andrew Privalov
8e2b13963c
bot api v6.1 (#2) 2022-07-08 12:20:49 +03:00
Negasus
47f694a0c9 remove botCommandScopeTag()
fix processUpdate with WaitGroup
2022-05-06 13:44:35 +03:00
Negasus
436e67cd77 refactoring, add missing sticker methods 2022-05-06 12:47:43 +03:00
Negasus
c9fa848718 fix typo in filename 2022-05-02 19:46:07 +03:00
Negasus
07f1f676c0 add webhook methods 2022-05-02 17:38:00 +03:00
Negasus
2b7e49daf7 custom marshaler refactoring 2022-05-02 16:58:40 +03:00
Negasus
bb0941a180 add game support 2022-05-02 16:34:54 +03:00
Negasus
ac701a8f3a add passport support 2022-05-02 16:25:45 +03:00
Negasus
ac83c6fae9 payments support 2022-05-02 16:13:17 +03:00
Negasus
6872a87b16 inline mode support 2022-05-02 15:53:26 +03:00
Negasus
0f09e0d64b add comments, todo, cleanup 2022-04-29 19:17:52 +03:00
Negasus
28b72956de validation refactoring, InputMedia group attachment implementation 2022-04-29 19:04:38 +03:00