com.microsoft.bot.builder.dialogs.MessageOptions Maven / Gradle / Ivy
package com.microsoft.bot.builder.dialogs;
import com.microsoft.bot.schema.models.AttachmentLayoutTypes;
import com.microsoft.bot.schema.models.TextFormatTypes;
///
/// Optional message properties that can be sent
///
public class MessageOptions
{
public MessageOptions()
{
this.setTextFormat(TextFormatTypes.MARKDOWN.toString());
this.setAttachmentLayout(AttachmentLayoutTypes.LIST.toString());
// this.Attachments = new ArrayList();
// this.Entities = new ArrayList();
}
///
/// Indicates whether the bot is accepting, expecting, or ignoring input
///
//public string InputHint { get; set; }
///
/// Format of text fields [plain|markdown] Default:markdown
///
String textFormat;
public String getTextFormat() {
return this.textFormat;
}
public void setTextFormat(String textFormat) {
this.textFormat = textFormat;
}
///
/// Hint for how to deal with multiple attachments: [list|carousel] Default:list
///
String attachmentLayout;
public String getAttachmentLayout() {
return this.attachmentLayout;
}
public void setAttachmentLayout(String attachmentLayout) {
this.attachmentLayout = attachmentLayout;
}
///
/// Attachments
///
//public IList Attachments { get; set; }
///
/// Collection of Entity objects, each of which contains metadata about this activity. Each Entity object is typed.
///
//public IList Entities { get; set; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy