Class: Telegram::Bot::Types::InputInvoiceMessageContent
- Defined in:
- sig/telegram/bot/types/input_invoice_message_content.rbs
Instance Attribute Summary collapse
-
#currency ⇒ String
readonly
Returns the value of attribute currency.
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#is_flexible ⇒ Boolean?
readonly
Returns the value of attribute is_flexible.
-
#max_tip_amount ⇒ Integer
readonly
Returns the value of attribute max_tip_amount.
-
#need_email ⇒ Boolean?
readonly
Returns the value of attribute need_email.
-
#need_name ⇒ Boolean?
readonly
Returns the value of attribute need_name.
-
#need_phone_number ⇒ Boolean?
readonly
Returns the value of attribute need_phone_number.
-
#need_shipping_address ⇒ Boolean?
readonly
Returns the value of attribute need_shipping_address.
-
#payload ⇒ String
readonly
Returns the value of attribute payload.
-
#photo_height ⇒ Integer?
readonly
Returns the value of attribute photo_height.
-
#photo_size ⇒ Integer?
readonly
Returns the value of attribute photo_size.
-
#photo_url ⇒ String?
readonly
Returns the value of attribute photo_url.
-
#photo_width ⇒ Integer?
readonly
Returns the value of attribute photo_width.
-
#prices ⇒ Array[LabeledPrice]
readonly
Returns the value of attribute prices.
-
#provider_data ⇒ String?
readonly
Returns the value of attribute provider_data.
-
#provider_token ⇒ String?
readonly
Returns the value of attribute provider_token.
-
#send_email_to_provider ⇒ Boolean?
readonly
Returns the value of attribute send_email_to_provider.
-
#send_phone_number_to_provider ⇒ Boolean?
readonly
Returns the value of attribute send_phone_number_to_provider.
-
#suggested_tip_amounts ⇒ Array[Integer]?
readonly
Returns the value of attribute suggested_tip_amounts.
-
#title ⇒ String
readonly
Returns the value of attribute title.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#currency ⇒ String (readonly)
Returns the value of attribute currency.
12 13 14 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 12 def currency @currency end |
#description ⇒ String (readonly)
Returns the value of attribute description.
9 10 11 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 9 def description @description end |
#is_flexible ⇒ Boolean? (readonly)
Returns the value of attribute is_flexible.
27 28 29 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 27 def is_flexible @is_flexible end |
#max_tip_amount ⇒ Integer (readonly)
Returns the value of attribute max_tip_amount.
14 15 16 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 14 def max_tip_amount @max_tip_amount end |
#need_email ⇒ Boolean? (readonly)
Returns the value of attribute need_email.
23 24 25 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 23 def need_email @need_email end |
#need_name ⇒ Boolean? (readonly)
Returns the value of attribute need_name.
21 22 23 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 21 def need_name @need_name end |
#need_phone_number ⇒ Boolean? (readonly)
Returns the value of attribute need_phone_number.
22 23 24 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 22 def need_phone_number @need_phone_number end |
#need_shipping_address ⇒ Boolean? (readonly)
Returns the value of attribute need_shipping_address.
24 25 26 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 24 def need_shipping_address @need_shipping_address end |
#payload ⇒ String (readonly)
Returns the value of attribute payload.
10 11 12 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 10 def payload @payload end |
#photo_height ⇒ Integer? (readonly)
Returns the value of attribute photo_height.
20 21 22 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 20 def photo_height @photo_height end |
#photo_size ⇒ Integer? (readonly)
Returns the value of attribute photo_size.
18 19 20 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 18 def photo_size @photo_size end |
#photo_url ⇒ String? (readonly)
Returns the value of attribute photo_url.
17 18 19 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 17 def photo_url @photo_url end |
#photo_width ⇒ Integer? (readonly)
Returns the value of attribute photo_width.
19 20 21 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 19 def photo_width @photo_width end |
#prices ⇒ Array[LabeledPrice] (readonly)
Returns the value of attribute prices.
13 14 15 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 13 def prices @prices end |
#provider_data ⇒ String? (readonly)
Returns the value of attribute provider_data.
16 17 18 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 16 def provider_data @provider_data end |
#provider_token ⇒ String? (readonly)
Returns the value of attribute provider_token.
11 12 13 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 11 def provider_token @provider_token end |
#send_email_to_provider ⇒ Boolean? (readonly)
Returns the value of attribute send_email_to_provider.
26 27 28 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 26 def send_email_to_provider @send_email_to_provider end |
#send_phone_number_to_provider ⇒ Boolean? (readonly)
Returns the value of attribute send_phone_number_to_provider.
25 26 27 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 25 def send_phone_number_to_provider @send_phone_number_to_provider end |
#suggested_tip_amounts ⇒ Array[Integer]? (readonly)
Returns the value of attribute suggested_tip_amounts.
15 16 17 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 15 def suggested_tip_amounts @suggested_tip_amounts end |
#title ⇒ String (readonly)
Returns the value of attribute title.
8 9 10 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 8 def title @title end |
Class Method Details
.new(title:, description:, payload:, provider_token:, currency:, prices:, max_tip_amount:, suggested_tip_amounts:, provider_data:, photo_url:, photo_size:, photo_width:, photo_height:, need_name:, need_phone_number:, need_email:, need_shipping_address:, send_phone_number_to_provider:, send_email_to_provider:, is_flexible:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/input_invoice_message_content.rbs', line 6
def self.new: (title: String, description: String, payload: String, ?provider_token: String, currency: String, prices: Array[LabeledPrice], ?max_tip_amount: Integer, ?suggested_tip_amounts: Array[Integer], ?provider_data: String, ?photo_url: String, ?photo_size: Integer, ?photo_width: Integer, ?photo_height: Integer, ?need_name: bool, ?need_phone_number: bool, ?need_email: bool, ?need_shipping_address: bool, ?send_phone_number_to_provider: bool, ?send_email_to_provider: bool, ?is_flexible: bool) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|