1
Commit Graph

37 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
2ca16892f9 fix CreateNewStickerSetParams 2024-11-21 11:00:16 +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
negasus
25534c7d08 fix comment 2024-10-10 16:24:24 +03:00
acatec
c54fc0d86f
added getBusinessConnection method https://core.telegram.org/bots/api#getbusinessconnection (#123) 2024-10-10 16:23:24 +03:00
negasus
36f64b9589 - change field type FromChatID from string to any for ForwardMessageParams, ForwardMessagesParams, CopyMessageParams and CopyMessagesParams params 2024-09-23 10:31:59 +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
drifteri
de43730438
Use any type for ChatID in SetGameScoreParams and GetGameHighScoreParams (#88) 2024-06-11 16:22:59 +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
Andrew Privalov
267a217a31
support api 7.3 (#84) 2024-05-20 12:07:43 +03:00
Andrew Privalov
d8831e7c5a
v7.2 (#74) 2024-04-02 18:09:36 +03:00
Negasus
cc3326fa9b fix json tag for DeleteMessagesParams.MessageIDs 2024-02-22 12:28:25 +03:00
Andrew Privalov
96a4c359a7
v7.0 (#55)
* API v7.0

* readme
2024-01-10 15:16:04 +03:00
DmitriiNov
9485c23951
Update methods_params.go (#53) 2024-01-09 11:08:03 +03:00
swift
afd39a719a
Fix typo for setChatDescription params (#49)
https://core.telegram.org/bots/api#setchatdescription
2023-12-06 18:27:59 +03:00
vvok12
227da24954
typo fix (#41) 2023-10-09 11:51:16 +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
2a372259d5 add ChatAction type with consts for sendChatAction method 2023-05-22 11:06:24 +03:00
Andrew Privalov
d74b107d69
bot api 6.7 (#28) 2023-04-24 09:11:48 +03:00
Negasus
e33efbedec - add helpers bot.True() and bot.False() for define *bool values 2023-04-10 10:43:31 +03:00
Ross Gustafson
0832fa8ef8
Set IsAnonymous poll param to pointer (#26) 2023-04-10 10:33:03 +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 Privalov
37b2614b62
Change field Thumb type (#13)
* change Thumb fields to InputFile

* change Thumb fields to InputFile

* fix test
2023-01-30 23:05:50 +03:00
Andrew Privalov
2d86115e4b
Tests (#12)
* remove handlerType param from RegisterHandlerMatchFunc

* change ChatID to `any` for StopMessageLiveLocationParams

* check rawRequest param by reflect isNil

* wip: add tests

* add methods tests
2023-01-19 10:59:16 +03:00
Negasus
1d0067f081 api 6.4 2023-01-10 11:18:24 +03:00
Negasus
ab1f1c0a77 fix field type SendDocumentParams.Document from string to InputFile, add example 2022-11-28 11:19:09 +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
436e67cd77 refactoring, add missing sticker methods 2022-05-06 12:47:43 +03:00