Layer 227
method Users
contacts.blockFromReplies#29a8962c flags:# delete_message:flags.0?true delete_history:flags.1?true report_spam:flags.2?true msg_id:int = Updates;

Parameters

Name Type Description
DeleteMessage flags .0? true Whether to delete the specified message as well
DeleteHistory flags .1? true Whether to delete all @replies messages from this user as well
ReportSpam flags .2? true Whether to also report this user for spam
MsgId int ID of the message in the @replies chat

Returns

Updates

Gogram Example

// ContactsBlockFromReplies - positional arguments
result, err := client.ContactsBlockFromReplies(nil, nil, nil, 42)
if err != nil {
    // handle error
}
// result is *tg.Updates

Possible Errors

Code Type Description
400 MSG_ID_INVALID Invalid message ID provided.