Class: Telegram::Bot::Types::ChatPhoto

Inherits:
Base
  • Object
show all
Defined in:
sig/telegram/bot/types/chat_photo.rbs

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Class Method Summary collapse

Methods included from Compactable

#to_compact_hash, #to_json

Methods included from PatternMatching

#deconstruct_keys

Instance Attribute Details

#big_file_idString (readonly)

Returns the value of attribute big_file_id.

Returns:

  • (String)


10
11
12
# File 'sig/telegram/bot/types/chat_photo.rbs', line 10

def big_file_id
  @big_file_id
end

#big_file_unique_idString (readonly)

Returns the value of attribute big_file_unique_id.

Returns:

  • (String)


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_idString (readonly)

Returns the value of attribute small_file_id.

Returns:

  • (String)


8
9
10
# File 'sig/telegram/bot/types/chat_photo.rbs', line 8

def small_file_id
  @small_file_id
end

#small_file_unique_idString (readonly)

Returns the value of attribute small_file_unique_id.

Returns:

  • (String)


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

Overloads:

  • .new(small_file_id:, small_file_unique_id:, big_file_id:, big_file_unique_id:) ⇒ instance

    Parameters:

    • small_file_id: (String)
    • small_file_unique_id: (String)
    • big_file_id: (String)
    • big_file_unique_id: (String)

    Returns:

    • (instance)
  • .new(attributes) ⇒ instance

    Parameters:

    • attributes (Hash[Symbol | String, untyped])

    Returns:

    • (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