sendSoundMessage method
ๅ้ๆไปถ
Implementation
Future<V2TimValueCallback<V2TimMessage>> sendSoundMessage({
required String soundPath,
required String receiver,
int? duration,
String? groupID,
int? priority,
bool onlineUserOnly = false,
}) async {
return V2TimValueCallback<V2TimMessage>.fromJson(
_formatJson(
await _channel.invokeMethod(
"sendSoundMessage",
_buildParam(
{
"soundPath": soundPath,
"receiver": receiver,
"duration": duration,
"groupID": groupID,
"priority": priority,
"onlineUserOnly": onlineUserOnly,
},
),
),
),
);
}