ConnectApi.HashtagSegmentInput Class

Used to include a hashtag in a feed item or comment.

Subclass of ConnectApi.​Message​Segment​Input

Property Type Description Available Version
tag String Text of the hash tag without the # (hash tag) prefix
Note

Note

Closing square brackets ( ] ) are not supported in hash tag text. If the text contains a closing square bracket ( ] ), the hash tag ends at the bracket.

28.0