Telegex v0.1.2 Telegex.Model.Dice View Source

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.Dice{emoji: String.t(), value: integer()}

Link to this section Functions

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