ExMicrosoftBot.Models.AttachmentInfo (ex_microsoftbot v3.0.0)

Microsoft bot attachment info structure

Link to this section Summary

Link to this section Types

Specs

t() :: %ExMicrosoftBot.Models.AttachmentInfo{
  name: String.t(),
  type: String.t(),
  views: [ExMicrosoftBot.Models.AttachmentView]
}

Link to this section Functions

Specs

parse(map()) :: {:ok, t()}
parse(String.t()) :: t()

Decode a string into ExMicrosoftBot.Models.AttachmentInfo

Link to this function

serialize(bot_data)

Specs

serialize(t()) :: String.t()

Encodes the ExMicrosoftBot.Models.AttachmentInfo to json string