Class: TD::Types::MessageContent::SuggestProfilePhoto

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/suggest_profile_photo.rb

Overview

A profile photo was suggested to a user in a private chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#photoTD::Types::ChatPhoto

The suggested chat photo. Use the method setProfilePhoto with InputChatPhoto::Previous to apply the photo.



6
7
8
# File 'lib/tdlib/types/message_content/suggest_profile_photo.rb', line 6

def photo
  @photo
end