View Source ExGram.Model.OwnedGift (ex_gram v0.55.0)

This object describes a gift received and owned by a user or a chat. Currently, it can be one of

Check the documentation of this model in https://core.telegram.org/bots/api#ownedgift

Summary

Types

@type t() :: %ExGram.Model.OwnedGift{
  can_be_upgraded: boolean() | nil,
  convert_star_count: integer() | nil,
  entities: [ExGram.Model.MessageEntity.t()] | nil,
  gift: ExGram.Model.Gift.t(),
  is_private: boolean() | nil,
  is_saved: boolean() | nil,
  owned_gift_id: String.t() | nil,
  prepaid_upgrade_star_count: integer() | nil,
  send_date: integer(),
  sender_user: ExGram.Model.User.t() | nil,
  text: String.t() | nil,
  type: String.t(),
  was_refunded: boolean() | nil
}

Functions