Packages

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

Current section

Files

Jump to
ex_microsoftbot lib models channel_account.ex
Raw

lib/models/channel_account.ex

defmodule ExMicrosoftBot.Models.ChannelAccount do
@moduledoc """
Microsoft bot channel account structure which corresponde to a user or bot
"""
@derive [Poison.Encoder]
defstruct [
:name, :channelId, :address, :id, :isBot
]
@type t :: %ExMicrosoftBot.Models.ChannelAccount{
name: String.t, channelId: String.t, address: String.t, id: String.t,
id: String.t, isBot: boolean
}
@doc false
def decoding_map do
%ExMicrosoftBot.Models.ChannelAccount{}
end
end