Skip to content

Commit 2725489

Browse files
author
Dirk Hoekstra
committed
Small fix of MessageList parameters
1 parent 87d6a0e commit 2725489

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
const (
2424
// ClientVersion is used in User-Agent request header to provide server with API level.
25-
ClientVersion = "4.1.0"
25+
ClientVersion = "4.2.0"
2626

2727
// Endpoint points you to MessageBird REST API.
2828
Endpoint = "https://rest.messagebird.com"

message.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@ type MessageParams struct {
5252
ScheduledDatetime time.Time
5353
}
5454

55+
// MessageListParams provides additional message list options.
5556
type MessageListParams struct {
5657
Originator string
5758
Direction string
59+
Type string
5860
Limit int
5961
Offset int
6062
}

0 commit comments

Comments
 (0)