View Source Tw.V1_1.Sizes (Tw v0.1.0)

Sizes data structure and related functions. https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities

Link to this section Summary

Types

t()
fielddescription
thumbInformation for a thumbnail-sized version of the media.
largeInformation for a large-sized version of the media.
mediumInformation for a medium-sized version of the media.
smallInformation for a small-sized version of the media.

Functions

Decode JSON-decoded map into t/0

Link to this section Types

Specs

t() :: %Tw.V1_1.Sizes{
  large: Tw.V1_1.Size.t(),
  medium: Tw.V1_1.Size.t(),
  small: Tw.V1_1.Size.t(),
  thumb: Tw.V1_1.Size.t()
}
fielddescription
thumbInformation for a thumbnail-sized version of the media.
largeInformation for a large-sized version of the media.
mediumInformation for a medium-sized version of the media.
smallInformation for a small-sized version of the media.

Link to this section Functions

Specs

decode!(map()) :: t()

Decode JSON-decoded map into t/0