ExMicrosoftBot.Models.Activity (ex_microsoftbot v3.0.0)
Microsoft bot attachment structure for the activity sent to the conversation
Link to this section Summary
Functions
Decode a string into ExMicrosoftBot.Models.Activity
Link to this section Types
Link to this type
json_base_value()
Specs
Link to this type
json_object()
Specs
json_object() :: json_base_value() | [json_base_value()] | %{optional(String.t()) => json_object()}
Specs
t() :: %ExMicrosoftBot.Models.Activity{
action: String.t(),
attachmentLayout: String.t(),
attachments: [ExMicrosoftBot.Models.Attachment.t()],
channelData: map(),
channelId: String.t(),
code: String.t(),
conversation: ExMicrosoftBot.Models.ConversationAccount.t(),
entities: [ExMicrosoftBot.Models.Entity.t()],
from: ExMicrosoftBot.Models.ChannelAccount.t(),
historyDisclosed: boolean(),
id: String.t(),
inputHint: String.t(),
locale: String.t(),
membersAdded: [ExMicrosoftBot.Models.ChannelAccount.t()],
membersRemoved: [ExMicrosoftBot.Models.ChannelAccount.t()],
reactionsAdded: [ExMicrosoftbot.Models.Reaction.t()],
reactionsRemoved: [ExMicrosoftbot.Models.Reaction.t()],
recipient: ExMicrosoftBot.Models.ChannelAccount.t(),
replyToId: String.t(),
serviceUrl: String.t(),
speak: String.t(),
suggestedActions: [ExMicrosoftBot.Models.SuggestedAction.t()],
summary: String.t(),
text: String.t(),
textFormat: String.t(),
timestamp: String.t(),
topicName: String.t(),
type: String.t(),
value: json_object()
}
Link to this section Functions
Link to this function
parse(param)
Specs
Decode a string into ExMicrosoftBot.Models.Activity