contacts.BlockFromReplies
- class pyrogram.raw.functions.contacts.BlockFromReplies
Stop getting notifications about discussion replies of a certain user in @replies
- Details:
Layer:
223ID:
29A8962C
- Parameters:
msg_id (
int32-bit) – ID of the message in the @replies chatdelete_message (
bool, optional) – Whether to delete the specified message as welldelete_history (
bool, optional) – Whether to delete all @replies messages from this user as wellreport_spam (
bool, optional) – Whether to also report this user for spam
- Returns:
TL Schema
contacts.blockFromReplies#29a8962c
flags:#
delete_message:flags.0?true
delete_history:flags.1?true
report_spam:flags.2?true
msg_id:int
= Updates
Parameter Tree
BlockFromReplies
├── delete_message →
true (optional)├── delete_history →
true (optional)├── report_spam →
true (optional)└── msg_id →
intExample
await app.invoke(
BlockFromReplies(
delete_message=None,
delete_history=None,
report_spam=None,
msg_id=0,
)
)