Layer 220
ContactsBlockFromReplies
Stop getting notifications about discussion replies of a certain user in @replies
method
Users
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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
UpdatesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | MSG_ID_INVALID | Invalid message ID provided. |
Gogram Example
// ContactsBlockFromReplies - using Params struct result, err := client.ContactsBlockFromReplies(&tg.ContactsBlockFromRepliesParams{ MsgId: 0, // Optional fields: // DeleteMessage: true, // DeleteHistory: true, // ReportSpam: true, }) if err != nil { // handle error } // result is *tg.Updates