| CPC H04L 51/046 (2013.01) [H04M 1/72469 (2021.01)] | 20 Claims |

|
1. A method, comprising:
displaying, by a first device, a chat interface with a first contact in a first window, wherein the chat interface comprises an input box for a chat message;
detecting, by the first device, a first operation of inputting a preset symbol into the input box by a user;
displaying, by the first device, a first list in a second window different from the first window in response to the first operation,
wherein the first list comprises one or more electronic devices,
wherein the one or more electronic devices comprise a second device different from the first device, and
wherein the second device accesses a same local area network as the first device, or the second device is logged in to by using a same account as the first device;
after the displaying the first list and in response to a second operation of selecting the second device by the user, displaying, by the first device, a service list provided by the second device, wherein the service list comprises one or more services provided by the second device;
sending, by the first device, a first chat message in the chat interface to the first contact in response to a third operation of selecting a first service from the service list by the user, wherein the first chat message comprises first service content corresponding to the first service, wherein the sending, by the first device, the first chat message in the chat interface comprises:
displaying, by the first device in the chat interface, the first chat message and a first user avatar that sends the first chat message, wherein the first user avatar comprises an identifier of the second device; and
after the sending, by the first device, the first chat message in the chat interface, displaying, by the first device in the chat interface, a third chat message and a second user avatar that sends the third chat message, wherein the third chat message is unrelated to a service provided by the second device, and the second user avatar does not comprise the identifier of the second device.
|