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