Module tdlight.api

Class TdApi.MessageSuggestProfilePhoto

Enclosing class:
TdApi

public static final class TdApi.MessageSuggestProfilePhoto extends TdApi.MessageContent
A profile photo was suggested to a user in a private chat.
  • Field Details

    • photo

      public TdApi.ChatPhoto photo
      The suggested chat photo. Use the method setProfilePhoto with inputChatPhotoPrevious to apply the photo.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • MessageSuggestProfilePhoto

      public MessageSuggestProfilePhoto()
      A profile photo was suggested to a user in a private chat.
    • MessageSuggestProfilePhoto

      public MessageSuggestProfilePhoto(TdApi.ChatPhoto photo)
      A profile photo was suggested to a user in a private chat.
      Parameters:
      photo - ChatPhoto The suggested chat photo. Use the method setProfilePhoto with inputChatPhotoPrevious to apply the photo.
    • MessageSuggestProfilePhoto

      public MessageSuggestProfilePhoto(DataInput input) throws IOException
      A profile photo was suggested to a user in a private chat.
      Throws:
      IOException
  • Method Details