Method, apparatus, device and medium for adding group members
Abstract
The present disclosure discloses a method for adding group members. When the first user needs to add a new member to the target group in the instant messaging system, in response to triggering of a first user, an imported target document is obtained, and the target document includes user information of one or more second users in an instant messaging system. After obtaining the target document, the target document is parsed to obtain user information of one or more second users included in the target document in the instant messaging system. After obtaining the user information through parsing, the one or more second users will be added to the target group in the instant messaging system based on the user information.
Claims
exact text as granted — not AI-modifiedWe claim:
1. A method for adding group members, comprising:
in response to triggering of a first user, obtaining an imported target document, the target document comprising user information of one or more second users in an instant messaging system;
parsing the target document and obtaining the user information of the one or more second users in the instant messaging system; and
adding the one or more second users to a target group in the instant messaging system based on the user information;
wherein in response to the triggering of the user, obtaining the imported target document comprises:
in response to local importing triggered by the first user on an import page, obtaining the target document, a type of the target document being an offline document.
2. The method of claim 1 , wherein types of the target document comprise an online document and/or an offline document.
3. The method of claim 1 , wherein in response to the triggering of the first user, obtaining the imported target document comprises:
in response to online importing triggered by the first user on an import page, obtaining a document link input by the first user; and
obtaining the target document based on the document link, a type of the target document being an online document.
4. The method of claim 3 , wherein adding the one or more second users to the target group in the instant messaging system based on the user information comprises:
based on the user information being a user identification of the second user in the instant messaging system, adding the user identification to the target group in the instant messaging system directly based on the user information.
5. The method of claim 4 , wherein adding the user identification to the target group in the instant messaging system comprises:
in response to the first user having an edit permission on the target document, adding the user identification to the target group in the instant messaging system.
6. The method of claim 3 , wherein adding the one or more second users to the target group in the instant messaging system based on the user information comprises:
based on the user information being not a user identification of the second user in the instant messaging system, determining the user identification of the second user in the instant messaging system based on the user information and a specified correspondence, the user identification being configured to uniquely indicate the second user in the instant messaging system, and the specified correspondence comprising an association between the user information and the user identification; and
adding the user identification to the target group in the instant messaging system.
7. The method of claim 3 , further comprising:
in response to the first user having no edit permission on the target document, displaying a permission application component; and
in response to triggering by the first user on the permission application component, transmitting an application request to an owner of the target document, the application request being configured to request the owner of the target document to grant the edit permission on the target document to the first user.
8. The method of claim 3 , further comprising:
in response to triggering by the first user on the target document or on an input box where the target document is located, displaying a deletion component; and
in response to triggering by the first user on the deletion component, deleting the target document.
9. The method of claim 1 , wherein adding the one or more second users to the target group in the instant messaging system based on the user information comprises:
determining a user identification of the second user in the instant messaging system based on the user information and a specified correspondence, the specified correspondence comprising an association between the user information and the user identification; and
adding the user identification to the target group in the instant messaging system.
10. The method of claim 9 , further comprises:
in response to replacing triggered by the first user in the import page, deleting the target document.
11. The method of claim 1 , wherein the method further comprises after obtaining the user information of the one or more second users in the instant messaging system:
determining whether the user information complies with a predetermined rule;
in response to the user information not complying with the predetermined rule, determining a location of the user information that failing to comply with the predetermined rule in the target document; and
displaying the location of the user information failing to comply with the predetermined rule in the target document.
12. The method of claim 1 , wherein the method further comprises after parsing the target document and obtaining the user information of one or more second users in the instant messaging system:
displaying a number of the second users included in the target document.
13. The method of claim 1 , wherein the method further comprises in response to the triggering of the first user and before obtaining the imported target document,
obtaining an import document template; and
entering user information of a second user to be added into the import document template based on a template rule, to obtain the target document.
14. An electronic device, comprising:
a processor and a memory;
the memory being configured to store instructions or computer programs,
the processor being configured to execute the instructions or computer programs in the memory, to cause the electronic device to perform acts comprising:
in response to triggering of a first user, obtaining an imported target document, the target document comprising user information of one or more second users in an instant messaging system;
parsing the target document and obtaining the user information of the one or more second users in the instant messaging system; and
adding the one or more second users to a target group in the instant messaging system based on the user information;
wherein in response to the triggering of the user, obtaining the imported target document comprises:
in response to local importing triggered by the first user on an import page, obtaining the target document, a type of the target document being an offline document.
15. The electronic device of claim 14 , wherein types of the target document comprise an online document and/or an offline document.
16. The electronic device of claim 14 , wherein in response to the triggering of the first user, obtaining the imported target document comprises:
in response to online importing triggered by the first user on an import page, obtaining a document link input by the first user; and
obtaining the target document based on the document link, a type of the target document being an online document.
17. The electronic device of claim 16 , wherein adding the one or more second users to the target group in the instant messaging system based on the user information comprises:
based on the user information being a user identification of the second user in the instant messaging system, adding the user identification to the target group in the instant messaging system directly based on the user information.
18. The electronic device of claim 16 , wherein adding the one or more second users to the target group in the instant messaging system based on the user information comprises:
based on the user information being not a user identification of the second user in the instant messaging system, determining the user identification of the second user in the instant messaging system based on the user information and a specified correspondence, the user identification being configured to uniquely indicate the second user in the instant messaging system, and the specified correspondence comprising an association between the user information and the user identification; and
adding the user identification to the target group in the instant messaging system.
19. A non-transitory computer-readable storage medium storing instructions therein, the instructions, upon running on a device, causing the device to perform acts comprising:
in response to triggering of a first user, obtaining an imported target document, the target document comprising user information of one or more second users in an instant messaging system;
parsing the target document and obtaining the user information of the one or more second users in the instant messaging system; and
adding the one or more second users to a target group in the instant messaging system based on the user information;
wherein in response to the triggering of the user, obtaining the imported target document comprises:
in response to local importing triggered by the first user on an import page, obtaining the target document, a type of the target document being an offline document.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.