Packages

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

Current section

Files

Jump to
ex_microsoftbot lib models attachment_data.ex
Raw

lib/models/attachment_data.ex

defmodule ExMicrosoftBot.Models.AttachmentData do
@moduledoc """
Microsoft bot attachment structure within the message
"""
@derive [Poison.Encoder]
defstruct [:type, :name, :originalBase64, :thumbnailBase64]
@type t :: %ExMicrosoftBot.Models.AttachmentData {
type: String.t,
name: String.t,
originalBase64: String.t,
thumbnailBase64: String.t
}
@doc false
def decoding_map() do
%ExMicrosoftBot.Models.AttachmentData {}
end
end