Link Search Menu Expand Document

Constructor: messageActionSuggestProfilePhoto

Back to constructors index

A new profile picture was suggested using photos.uploadContactProfilePhoto.

Attributes:

NameTypeRequiredDescription
photoPhotoOptionalThe photo that the user suggested we set as profile picture.

Type: MessageAction

Example:

$messageActionSuggestProfilePhoto = ['_' => 'messageActionSuggestProfilePhoto', 'photo' => Photo];