Skip to content

ChatActionBarReportAddBlock

Type · TDLib 1.8.67 · d1085f9c

The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method setMessageSenderBlockList, or the other user can be added to the contact list using the method addContact. If the chat is a private chat with a user with an emoji status, then a notice about emoji status usage must be shown

ChatActionBarReportAddBlock(
  can_unarchive: Bool,
  account_info: AccountInfo
) → 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

account_info

AccountInfo

Basic information about the other user in the chat; may be null if unknown