ConnectApi.MarkupBeginSegmentInput with a
url attribute is required as stated in the documentation: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_connectapi_input_markup_begin_segment.htm.
When working with it, I've realized that the url doesn't seem to matter. The value of the
TextSegmentInput is what is rendered and used as the link.
It seems like a pretty new feature, Spring '19 I think, so I'm trying to figure out if this is the actual desired behavior or if I'm doing something hacky. Any help, information, or links around this issue would be helpful.