class
Hamilton::Types::UserProfilePhotos
- Hamilton::Types::UserProfilePhotos
- Reference
- Object
Overview
This object represent a user's profile pictures.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/user_profile_photos.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#photos : Array(Array(Hamilton::Types::PhotoSize))
Requested profile pictures (in up to 4 sizes each).
-
#photos=(photos : Array(Array(Hamilton::Types::PhotoSize)))
Requested profile pictures (in up to 4 sizes each).
-
#total_count : Int32
Total number of profile pictures the target user has.
-
#total_count=(total_count : Int32)
Total number of profile pictures the target user has.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def photos : Array(Array(Hamilton::Types::PhotoSize))
#
Requested profile pictures (in up to 4 sizes each).
def photos=(photos : Array(Array(Hamilton::Types::PhotoSize)))
#
Requested profile pictures (in up to 4 sizes each).