Add Attribute Map to Contact Struct
continuous-integration/drone/pr Build is pending
Details
continuous-integration/drone/pr Build is pending
Details
This commit is contained in:
parent
7e01cf4916
commit
bf36df8de8
|
@ -21,4 +21,5 @@ type Contact struct {
|
|||
IsArchived bool `json:"isArchived"`
|
||||
Identifier int `json:"identifier"`
|
||||
NotificationPolicy string `json:"notificationPolicy"`
|
||||
Attributes map[string]string `json:"attributes"`
|
||||
}
|
||||
|
|
|
@ -282,6 +282,7 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string {
|
|||
GroupServer: groupServer,
|
||||
IsArchived: isArchived == event.True,
|
||||
NotificationPolicy: notificationPolicy,
|
||||
Attributes: conversationInfo.Attributes,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue