Skip to main content

EmbedsMessageBuilder

EmbedsMessageBuilder

@spotify/backstage-plugin-skill-exchange-node/alpha > EmbedsMessageBuilder

The EmbedsMessageBuilder interface defines the contract for building messages used for Skill Exchange Embed notifications.

Interface

MethodDescriptionParameterTypeDescription
buildInquiryMessageBuilds a message to be sent to the post owner that someone expressed interest in their postpostUrlstringURL of the post
postTitlestringTitle of the post
senderSlackUserIdstringSlack user ID of the person expressing interest
customMessagestring (optional)Custom message from the sender
buildInquiryConfirmationMessageBuilds a confirmation message to be sent to the sender that their interest in the post was sent to the contact personpostUrlstringURL of the post
postTitlestringTitle of the post
postContactSlackUserIdstringSlack user ID of the post contact
buildInquiryReminderMessageBuilds a message to remind a post owner about an inquiry they receivedpostUrlstringURL of the post
postTitlestringTitle of the post
senderSlackUserIdstringSlack user ID of the person who sent the inquiry
durationstringTime duration since the inquiry was sent
buildStopInquiryRemindersConfirmationMessageBuilds a confirmation message that reminders about an inquiry have been stoppedNo parameters
buildErrorOnActionMessageBuilds a message to notify user that an error occurred when trying to perform an actionNo parameters
buildParticipantAddedMessageBuilds a message to notify a user that they were added as a participant to a postpostUrlstringURL of the post
postTitlestringTitle of the post
postContactSlackUserIdstringSlack user ID of the post contact
buildParticipantAddedConfirmationMessageBuilds a confirmation message to notify the post contact that a user was successfully added as a participantparticipantSlackUserIdstringSlack user ID of the participant who was added
buildSavedSearchMatchMessageBuilds a message to notify a user that a new post matches their saved search criteriapostUrlstringURL of the matching post
postTitlestringTitle of the matching post