Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool;


Name Type Description
channel InputChannel Supergroup
user_id InputUser ID of the user that sent the spam messages
id Vector<int> IDs of spam messages



Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 INPUT_USER_DEACTIVATED The specified user was deleted.
400 USER_ID_INVALID The provided user ID is invalid.