mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-03-29 11:09:52 +03:00
commit
c8fbd8cd7a
3 changed files with 9 additions and 11 deletions
|
@ -1,5 +1,6 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
|
- '1.8'
|
||||||
- '1.9'
|
- '1.9'
|
||||||
- '1.10'
|
- '1.10'
|
||||||
- '1.11'
|
- '1.11'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[](https://travis-ci.org/retailcrm/mg-bot-api-client-go)
|
[](https://travis-ci.org/retailcrm/mg-bot-api-client-go)
|
||||||
[](https://github.com/retailcrm/mg-bot-api-client-go/releases)
|
[](https://github.com/retailcrm/mg-bot-api-client-go/releases)
|
||||||
[](https://golang.org/dl/)
|
[](https://golang.org/dl/)
|
||||||
|
[](https://godoc.org/github.com/retailcrm/mg-bot-api-client-go)
|
||||||
|
|
||||||
|
|
||||||
# retailCRM Message Gateway Bot API Go client
|
# retailCRM Message Gateway Bot API Go client
|
||||||
|
@ -39,7 +40,3 @@ func main() {
|
||||||
fmt.Printf("%v", data.MessageID)
|
fmt.Printf("%v", data.MessageID)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
* [GoDoc](https://godoc.org/github.com/retailcrm/mg-bot-api-client-go)
|
|
||||||
|
|
10
v1/types.go
10
v1/types.go
|
@ -46,11 +46,11 @@ type (
|
||||||
}
|
}
|
||||||
|
|
||||||
ChannelsRequest struct {
|
ChannelsRequest struct {
|
||||||
ID uint64 `url:"id,omitempty"`
|
ID uint64 `url:"id,omitempty"`
|
||||||
Types string `url:"types,omitempty"`
|
Types []string `url:"types,omitempty"`
|
||||||
Active uint8 `url:"active,omitempty"`
|
Active uint8 `url:"active,omitempty"`
|
||||||
Since string `url:"since,omitempty"`
|
Since string `url:"since,omitempty"`
|
||||||
Until string `url:"until,omitempty"`
|
Until string `url:"until,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
UsersRequest struct {
|
UsersRequest struct {
|
||||||
|
|
Loading…
Add table
Reference in a new issue