ex_microsoftbot v0.1.0 ExMicrosoftBot.Models.Message

Microsoft bot message structure

Summary

Types

t :: %ExMicrosoftBot.Models.Message{attachments: [ExMicrosoftBot.Models.Attachment.t], botConversationData: map, botPerUserInConversationData: map, botUserData: map, channelConversationId: String.t, channelData: map, channelMessageId: String.t, conversationId: String.t, created: String.t, eTag: String.t, from: ExMicrosoftBot.Models.ChannelAccount.t, hashtags: [String.t], id: String.t, language: String.t, location: ExMicrosoftBot.Models.Location.t, mentions: [ExMicrosoftBot.Models.Mention.t], participants: [ExMicrosoftBot.Models.ChannelAccount.t], place: String.t, replyToMessageId: String.t, sourceLanguage: String.t, sourceText: String.t, text: String.t, to: ExMicrosoftBot.Models.ChannelAccount.t, totalParticipants: Integer.t, type: String.t}

Functions

parse(param)

Decode a string into ExMicrosoftBot.Models.Message

serialize(message)

Encodes the ExMicrosoftBot.Models.Message to json string