Skip to content

Commit 2804691

Browse files
author
marcel corso
committed
add rejected to MessageStatus and make conversation created at not a pointer
1 parent c784a5d commit 2804691

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conversation/api.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type Conversation struct {
4343
Channels []*Channel
4444
Messages *MessagesCount
4545
Status ConversationStatus
46-
CreatedDatetime *time.Time
46+
CreatedDatetime time.Time
4747
UpdatedDatetime *time.Time
4848
LastReceivedDatetime *time.Time
4949
}
@@ -130,6 +130,7 @@ const (
130130
MessageStatusReceived MessageStatus = "received"
131131
MessageStatusSent MessageStatus = "sent"
132132
MessageStatusUnsupported MessageStatus = "unsupported"
133+
MessageStatusRejected MessageStatus = "rejected"
133134
)
134135

135136
// MessageType indicates what kind of content a Message has, e.g. audio or

0 commit comments

Comments
 (0)