Improve chatActionBar documentation.
This commit is contained in:
parent
1345e8e9a4
commit
b021af5185
@ -1173,7 +1173,7 @@ publicChatTypeIsLocationBased = PublicChatType;
|
||||
|
||||
//@class ChatActionBar @description Describes actions which must be possible to do through a chat action bar
|
||||
|
||||
//@description The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam
|
||||
//@description The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam. If the chat is a private chat with a user with an emoji status, then a notice about emoji status usage must be shown
|
||||
//@can_unarchive 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
|
||||
chatActionBarReportSpam can_unarchive:Bool = ChatActionBar;
|
||||
|
||||
@ -1183,7 +1183,7 @@ chatActionBarReportUnrelatedLocation = ChatActionBar;
|
||||
//@description The chat is a recently created group chat to which new members can be invited
|
||||
chatActionBarInviteMembers = ChatActionBar;
|
||||
|
||||
//@description 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 toggleMessageSenderIsBlocked, or the other user can be added to the contact list using the method addContact
|
||||
//@description 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 toggleMessageSenderIsBlocked, 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
|
||||
//@can_unarchive 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
|
||||
//@distance If non-negative, the current user was found by the peer through searchChatsNearby and this is the distance between the users
|
||||
chatActionBarReportAddBlock can_unarchive:Bool distance:int32 = ChatActionBar;
|
||||
|
Loading…
Reference in New Issue
Block a user