event := intercomlib.Event{
UserID: userId,
EventName: eventName,
CreatedAt: int64(time.Now().Unix()),
Metadata: map[string]any{
some_rich_link: map[string]any{
"url": "https://www.some-custom-url.com",
"value": "some-custom-name",
},
},
}
ic.Events.Save(&event)
Version info
Expected behavior
Rich links in custom events' metadata work.
Actual behavior
Rich links sent with the golang API are displayed as
[object Object]in intercom's dashboard.Steps to reproduce