Class: Telegram::Bot::Types::ReplyParameters
- Defined in:
- sig/telegram/bot/types/reply_parameters.rbs
Instance Attribute Summary collapse
-
#allow_sending_without_reply ⇒ Boolean?
readonly
Returns the value of attribute allow_sending_without_reply.
-
#chat_id ⇒ Integer, ...
readonly
Returns the value of attribute chat_id.
-
#checklist_task_id ⇒ Integer?
readonly
Returns the value of attribute checklist_task_id.
-
#message_id ⇒ Integer
readonly
Returns the value of attribute message_id.
-
#poll_option_id ⇒ String?
readonly
Returns the value of attribute poll_option_id.
-
#quote ⇒ String?
readonly
Returns the value of attribute quote.
-
#quote_entities ⇒ Array[MessageEntity]?
readonly
Returns the value of attribute quote_entities.
-
#quote_parse_mode ⇒ String?
readonly
Returns the value of attribute quote_parse_mode.
-
#quote_position ⇒ Integer?
readonly
Returns the value of attribute quote_position.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#allow_sending_without_reply ⇒ Boolean? (readonly)
Returns the value of attribute allow_sending_without_reply.
10 11 12 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 10 def allow_sending_without_reply @allow_sending_without_reply end |
#chat_id ⇒ Integer, ... (readonly)
Returns the value of attribute chat_id.
9 10 11 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 9 def chat_id @chat_id end |
#checklist_task_id ⇒ Integer? (readonly)
Returns the value of attribute checklist_task_id.
15 16 17 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 15 def checklist_task_id @checklist_task_id end |
#message_id ⇒ Integer (readonly)
Returns the value of attribute message_id.
8 9 10 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 8 def @message_id end |
#poll_option_id ⇒ String? (readonly)
Returns the value of attribute poll_option_id.
16 17 18 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 16 def poll_option_id @poll_option_id end |
#quote ⇒ String? (readonly)
Returns the value of attribute quote.
11 12 13 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 11 def quote @quote end |
#quote_entities ⇒ Array[MessageEntity]? (readonly)
Returns the value of attribute quote_entities.
13 14 15 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 13 def quote_entities @quote_entities end |
#quote_parse_mode ⇒ String? (readonly)
Returns the value of attribute quote_parse_mode.
12 13 14 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 12 def quote_parse_mode @quote_parse_mode end |
#quote_position ⇒ Integer? (readonly)
Returns the value of attribute quote_position.
14 15 16 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 14 def quote_position @quote_position end |
Class Method Details
.new(message_id:, chat_id:, allow_sending_without_reply:, quote:, quote_parse_mode:, quote_entities:, quote_position:, checklist_task_id:, poll_option_id:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/reply_parameters.rbs', line 6
def self.new: (message_id: Integer, ?chat_id: (Integer | String), ?allow_sending_without_reply: bool, ?quote: String, ?quote_parse_mode: String, ?quote_entities: Array[MessageEntity], ?quote_position: Integer, ?checklist_task_id: Integer, ?poll_option_id: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|