agala_telegram v3.0.0 Agala.Provider.Telegram.Model.Sticker

This object represents an animation file to be displayed in the message containing a game.

https://core.telegram.org/bots/api#animation

Link to this section Summary

Functions

Alias to c:make/2, used to follow Construct.Type.cast/1 callback

Alias to c:make/2, but raises an Construct.MakeError exception if params have errors

Link to this section Types

Link to this type t()
t() :: %Agala.Provider.Telegram.Model.Sticker{
  emoji: term(),
  file_id: term(),
  file_size: term(),
  height: term(),
  mask_position: term(),
  set_name: term(),
  thumb: term(),
  width: term()
}

Link to this section Functions

Link to this function cast(params, opts \\ [])

Alias to c:make/2, used to follow Construct.Type.cast/1 callback.

To use this structure as custom type.

Callback implementation for Construct.cast/2.

Link to this function make(params \\ %{}, opts \\ [])

Alias to Construct.Cast.make/3.

Callback implementation for Construct.make/2.

Link to this function make!(params \\ %{}, opts \\ [])

Alias to c:make/2, but raises an Construct.MakeError exception if params have errors.

Callback implementation for Construct.make!/2.