ChatActionBarReportSpam¶
The chat can be reported as spam using the method reportChat with an empty option_id and message_ids. If the chat is a private chat with a user with an emoji status, then a notice about emoji status usage must be shown
ChatActionBarReportSpam(
can_unarchive: Bool
) → ChatActionBar
can_unarchive¶
Bool
If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings