Packages

This library provides Elixir API wrapper for the Microsoft Bot Framework.

Current section

Files

Jump to
ex_microsoftbot lib models conversation_parameters.ex
Raw

lib/models/conversation_parameters.ex

defmodule ExMicrosoftBot.Models.ConversationParameters do
@moduledoc """
Microsoft bot conversation API parameters
"""
@derive [Poison.Encoder]
defstruct [:isGroup, :bot, :members, :topicName]
@type t :: %ExMicrosoftBot.Models.ConversationParameters{
isGroup: boolean,
bot: ExMicrosoftBot.Models.ChannelAccount.t,
members: [ExMicrosoftBot.Models.ChannelAccount.t],
topicName: String.t
}
@doc false
def decoding_map do
%ExMicrosoftBot.Models.ConversationParameters{
"bot": ExMicrosoftBot.Models.ChannelAccount.decoding_map,
"members": [ExMicrosoftBot.Models.ChannelAccount.decoding_map]
}
end
end