ChatActionBar
Describes actions which must be possible to do through a chat action bar.
The ChatActionBarUnion
type represents one of the following types:
keyboard_arrow_upkeyboard_arrow_down
ReportSpam
ReportUnrelatedLocation
InviteMembers
ReportAddBlock
AddContact
SharePhoneNumber
JoinRequest
ChatActionBarReportSpam
The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "chatActionBarReportSpam" | |
canUnarchive | boolean | 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 |