Skip to content

Events with rich links in metadata #146

Description

@juliomrc

Version info

  • intercom-go version: v2.0.0-20210504094731-2bd1af0ce4b2
  • Go version: 1.22.0

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

	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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions