Module tdlight.api

Class TdApi.SetUserPersonalProfilePhoto

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.SetUserPersonalProfilePhoto
Enclosing class:
TdApi

public static final class TdApi.SetUserPersonalProfilePhoto extends TdApi.Function<TdApi.Ok>
Changes a personal profile photo of a contact user. Returns Ok
  • Field Details

    • userId

      public long userId
      User identifier.
    • photo

      public TdApi.InputChatPhoto photo
      Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SetUserPersonalProfilePhoto

      public SetUserPersonalProfilePhoto()
      Changes a personal profile photo of a contact user. Returns Ok
    • SetUserPersonalProfilePhoto

      public SetUserPersonalProfilePhoto(long userId, TdApi.InputChatPhoto photo)
      Changes a personal profile photo of a contact user. Returns Ok
      Parameters:
      userId - long User identifier.
      photo - InputChatPhoto Profile photo to set; pass null to delete the photo; inputChatPhotoPrevious isn't supported in this function.
    • SetUserPersonalProfilePhoto

      public SetUserPersonalProfilePhoto(DataInput input) throws IOException
      Changes a personal profile photo of a contact user. Returns Ok
      Throws:
      IOException
  • Method Details