ex_microsoftbot v2.0.1 ExMicrosoftBot.Models.Activity
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
t()
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()], recipient: ExMicrosoftBot.Models.ChannelAccount.t(), replyToId: String.t(), serviceUrl: String.t(), speak: String.t(), summary: String.t(), text: String.t(), textFormat: String.t(), timestamp: String.t(), topicName: String.t(), type: String.t() }
Link to this section Functions
Link to this function
parse(param)
parse(map()) :: {:ok, ExMicrosoftBot.Models.Activity.t()}
parse(String.t()) :: ExMicrosoftBot.Models.Activity.t()
Decode a string into ExMicrosoftBot.Models.Activity