Class: Telegram::Bot::Types::ForceReply
- Defined in:
- sig/telegram/bot/types/force_reply.rbs
Instance Attribute Summary collapse
-
#force_reply ⇒ true
readonly
Returns the value of attribute force_reply.
-
#input_field_placeholder ⇒ String?
readonly
Returns the value of attribute input_field_placeholder.
-
#selective ⇒ Boolean?
readonly
Returns the value of attribute selective.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#force_reply ⇒ true (readonly)
Returns the value of attribute force_reply.
8 9 10 |
# File 'sig/telegram/bot/types/force_reply.rbs', line 8 def force_reply @force_reply end |
#input_field_placeholder ⇒ String? (readonly)
Returns the value of attribute input_field_placeholder.
9 10 11 |
# File 'sig/telegram/bot/types/force_reply.rbs', line 9 def input_field_placeholder @input_field_placeholder end |
#selective ⇒ Boolean? (readonly)
Returns the value of attribute selective.
10 11 12 |
# File 'sig/telegram/bot/types/force_reply.rbs', line 10 def selective @selective end |
Class Method Details
.new(force_reply:, input_field_placeholder:, selective:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/force_reply.rbs', line 6
def self.new: (force_reply: true, ?input_field_placeholder: String, ?selective: bool) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|