ActivityContent

ActivityContent

# new ActivityContent(params)

Creates an ActivityContent
Parameters:
Name Type Description
params Object Content params.
Properties
Name Type Attributes Default Description
text string <optional>
Text
attachments Array.<MediaAttachment> <optional>
[] Attachments.
button ActivityButton <optional>
Button.
properties Object.<string, string> <optional>
{} Properties.
poll PollContent <optional>
Poll content.
labels Array.<string> <optional>
Labels.