account.reportProfilePhoto #

Report a profile photo of a dialog

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool;

Parameters #

NameTypeDescription
peerInputPeerThe dialog
photo_idInputPhotoDialog photo ID
reasonReportReasonReport reason
messagestringComment for report moderation

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.