Telegex.Model.PassportData (Telegex v0.1.5) View Source

Link to this section Summary

Functions

Convert map data to Elixir.Telegex.Model.PassportData. Unlike Kernel.struct/2, this function will convert nested struct fields together.

Link to this section Types

Specs

t() :: %Telegex.Model.PassportData{
  credentials: Telegex.Model.EncryptedCredentials.t(),
  data: [Telegex.Model.EncryptedPassportElement.t()]
}

Link to this section Functions

Convert map data to Elixir.Telegex.Model.PassportData. Unlike Kernel.struct/2, this function will convert nested struct fields together.