Class UserProfilePhotos

java.lang.Object
io.micronaut.chatbots.telegram.api.UserProfilePhotos

public class UserProfilePhotos extends Object
This object represent a user's profile pictures.
See Also:
  • Constructor Details

    • UserProfilePhotos

      public UserProfilePhotos()
  • Method Details

    • getTotalCount

      @NonNull public @NonNull Integer getTotalCount()
      Returns:
      Total number of profile pictures the target user has.
    • setTotalCount

      public void setTotalCount(@NonNull @NonNull Integer totalCount)
      Parameters:
      totalCount - Total number of profile pictures the target user has.
    • getPhotos

      @NonNull public @NonNull List<List<PhotoSize>> getPhotos()
      Returns:
      List of PhotoSize Requested profile pictures (in up to 4 sizes each)
    • setPhotos

      public void setPhotos(@NonNull @NonNull List<List<PhotoSize>> photos)
      Parameters:
      photos - Array of PhotoSize Requested profile pictures (in up to 4 sizes each)
    • toString

      public String toString()
      Overrides:
      toString in class Object