onlineUserOnly to true when calling sendMessage. A message sent in this way differs from a general one in that:sendMessage API (Details) to send the prompt "Typing...". After receiving the prompt message, the receiver can display "The other party is typing..." on the UI.V2TimValueCallback<V2TimMsgCreateInfoResult> createCustomMessageRes =await TencentImSDKPlugin.v2TIMManager.getMessageManager().createCustomMessage(data: 'Typing...',);TencentImSDKPlugin.v2TIMManager.getMessageManager().sendMessage(id: createCustomMessageRes.data.id, receiver: "", groupID: "",onlineUserOnly: true);
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários