DBTEAMMembersSetProfilePhotoArg
Objective-C
@interface DBTEAMMembersSetProfilePhotoArg
    : NSObject <DBSerializable, NSCopying>
                Swift
class DBTEAMMembersSetProfilePhotoArg : NSObject, DBSerializable, NSCopying
                The MembersSetProfilePhotoArg struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
Identity of the user whose profile photo will be set.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMUserSelectorArg *_Nonnull user;Swift
var user: DBTEAMUserSelectorArg { get } - 
                  
                  
Image to set as the member’s new profile photo.
Declaration
Objective-C
@property (nonatomic, readonly) DBACCOUNTPhotoSourceArg *_Nonnull photo;Swift
var photo: DBACCOUNTPhotoSourceArg { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user photo:(nonnull DBACCOUNTPhotoSourceArg *)photo;Swift
init(user: DBTEAMUserSelectorArg, photo: DBACCOUNTPhotoSourceArg)Parameters
userIdentity of the user whose profile photo will be set.
photoImage to set as the member’s new profile photo.
Return Value
An initialized instance.
 
View on GitHub
        DBTEAMMembersSetProfilePhotoArg Class Reference