1
0
mirror of synced 2024-11-24 22:16:05 +03:00
Commit Graph

260 Commits

Author SHA1 Message Date
f3f87d1b7b make rate limiter more concurrent-friendly 2024-02-16 18:05:14 +03:00
c80d4bf18f
rate limiter support 2024-02-16 11:28:55 +03:00
Суханов Данила
f278b73de0 condition for additional attempts to send a request 2024-02-16 09:28:35 +03:00
Суханов Данила
e3281a1ee1 replacing storage with a rate limiter 2024-02-15 21:59:10 +03:00
08cb056e3e
add Paused and Disabled template statuses 2024-02-14 11:14:33 +03:00
a97e52a98b
add template quality field
Added template quality field
2024-02-14 11:13:56 +03:00
Vlasov
31db9ce951 Added Paused and Disabled template statuses 2024-02-13 15:47:37 +03:00
Vlasov
16c84c5ddf Added template quality field 2024-02-13 15:43:26 +03:00
70a0132f22
add rate limit support & automatic retry on hit 2024-02-13 12:16:27 +03:00
1012f97f08
better logging for rate limiting 2024-02-13 12:13:49 +03:00
Суханов Данила
8ea0679a09 update go in ci 2024-02-12 15:10:10 +03:00
Суханов Данила
0a0de1f669 fix lint problem and test unmarshal message webhook 2024-02-12 14:55:05 +03:00
Суханов Данила
f1ce041219 Handling limits and exceedings 2024-02-12 14:31:57 +03:00
191d0ae1fb
Added URL channel message suggestion 2024-02-06 11:36:38 +03:00
65df1d491e
Merge pull request #111 from retailcrm/dependabot/go_modules/examples/telegram/golang.org/x/crypto-0.17.0
Bump golang.org/x/crypto from 0.9.0 to 0.17.0 in /examples/telegram
2024-01-16 15:50:49 +03:00
dependabot[bot]
299d176981
Bump golang.org/x/crypto from 0.9.0 to 0.17.0 in /examples/telegram
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.9.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 12:49:32 +00:00
5e890ac557
Merge pull request #110 from retailcrm/dependabot/go_modules/examples/telegram/golang.org/x/net-0.17.0
Bump golang.org/x/net from 0.10.0 to 0.17.0 in /examples/telegram
2024-01-16 15:48:52 +03:00
df74983564
add README.md to the examples directory 2023-12-29 11:58:47 +03:00
173c2cc62b
add README.md to the examples directory 2023-12-29 11:58:33 +03:00
dependabot[bot]
3bfd32b1fb
Bump golang.org/x/net from 0.10.0 to 0.17.0 in /examples/telegram
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 08:48:24 +00:00
9803c8d26b
Update godoc & add usage examples 2023-12-29 11:47:50 +03:00
b4fa85eba0 more lint fixes 2023-12-29 11:46:18 +03:00
f72ec25093 lint fixes & update golangci-lint 2023-12-29 11:44:18 +03:00
2ba427dfc3 test for a new func 2023-12-29 11:37:01 +03:00
512aa5c6e8 update test matrix 2023-12-29 11:33:05 +03:00
a02b1fe885 package godoc 2023-12-29 11:30:09 +03:00
90a50feccb wip: package doc 2023-12-29 11:24:23 +03:00
f2a74857b7 fix tg example 2023-12-29 11:19:45 +03:00
7b482b17bc webhooks example 2023-12-29 11:07:45 +03:00
26684fb114 wip: usage examples 2023-12-28 19:32:03 +03:00
5e605c9d19 update godoc for methods and some types 2023-12-28 14:26:49 +03:00
933d2051ab wip: update godoc 2023-12-28 13:14:52 +03:00
7bcf82d114
Update template information schema in the message webhook 2023-12-28 10:16:51 +03:00
Vlasov
a27bf64101 Added template information to the message webhook structure 2023-12-27 17:23:08 +03:00
Vlasov
d5f3b73c25 Added URL channel message suggestion 2023-12-25 22:10:42 +03:00
d2dac5c774
Added attachments field to template model 2023-12-22 15:45:17 +03:00
5751f8af84
Add Variables field to the TemplateInfo struct 2023-12-22 15:44:34 +03:00
Vlasov
7c97499874 Added attachments field to template model 2023-12-21 15:02:09 +03:00
Vragov Roman
bf27310b25 Add Variables field to the TemplateInfo struct 2023-12-18 14:02:37 +03:00
edc20d1e9a removed useless symbolic link 2023-12-15 20:27:11 +03:00
9819c5c796
add pageLink field to message 2023-12-14 15:38:11 +03:00
Ruslan Efanov
5cd891e704 add pageLink field in message 2023-12-14 15:08:22 +03:00
19bb8f8eaf
New templates support 2023-11-10 13:58:01 +03:00
33a8c6ce6b lint fixes 2023-11-10 13:56:57 +03:00
6a02d91fed test fixes 2023-11-10 13:54:06 +03:00
55d16c4dff more fields for templates 2023-10-25 19:07:05 +03:00
9f3cda8be6
add new fields to the ActivateTemplateRequest 2023-10-18 09:47:05 +03:00
Суханов Данила
43e1116214 update ActivateTemplateRequest 2023-10-18 09:43:51 +03:00
Суханов Данила
724b009a56 rename rejected_reason to rejection_reason 2023-10-18 09:05:33 +03:00
a29500a6aa
add rejected_reason and verification_status fields for template 2023-10-16 15:45:51 +03:00