class ChatPhoto

Monday, August 24 2020 EAT

This object represents a chat photo.

Public Instance Methods

big_file_id() click to toggle source

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

# File lib/objects/chat_photo.rb, line 27
def big_file_id
  @photo.big_file_id
end
big_file_unique_id() click to toggle source

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

# File lib/objects/chat_photo.rb, line 34
def big_file_unique_id
  @photo.big_file_unique_id
end
small_file_id() click to toggle source

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

# File lib/objects/chat_photo.rb, line 14
def small_file_id
  @photo.small_file_id
end
small_file_unique_id() click to toggle source

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

# File lib/objects/chat_photo.rb, line 21
def small_file_unique_id
  @photo.small_file_unique_id
end