ExGram.Model.Birthdate (ex_gram v0.64.0)

Copy Markdown View Source

Describes the birthdate of a user.

Check the documentation of this model on Telegram Bot API

  • day: Day of the user's birth; 1-31
  • month: Month of the user's birth; 1-12
  • year (optional): Optional. Year of the user's birth

Summary

Types

t()

@type t() :: %ExGram.Model.Birthdate{
  day: integer(),
  month: integer(),
  year: integer() | nil
}

Functions

decode_as()