lib/chat_kitty/model/message_mention_properties.ex

# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.

defmodule ChatKitty.Model.MessageMentionProperties do
  @moduledoc """
  Mentions in this message
  """

  @derive [Poison.Encoder]
  defstruct [
    :"type",
    :"endPosition",
    :"startPosition",
    :"tag"
  ]

  @type t :: %__MODULE__{
    :"type" => String.t,
    :"endPosition" => integer(),
    :"startPosition" => integer(),
    :"tag" => String.t
  }
end

defimpl Poison.Decoder, for: ChatKitty.Model.MessageMentionProperties do
  def decode(value, _options) do
    value
  end
end