typewriter
typewriter copied to clipboard
Is it possible to set custom messageId with the generated client?
We have a need to set our own messageId for de-duplication purposes but can't see an obvious way to set it when using the generated client?
messageId as per https://segment.com/docs/connections/spec/common/
It depends on what library you are generating the client for (AJS, Node, iOS). Most of them have a way to change the message data.
Typewriter's client is just a wrapped client with convenience methods of the actual library, but you can still access the actual library's methods.
@oscb Would it be possible to extend TrackMessage with messageId?: string to allow setting it with the convenience methods