[−][src]Trait coolq_sdk_rust::targets::message::SendMessage
Required methods
Loading content...Provided methods
fn send_message(&self, msg: impl ToString) -> Result<i32>
@return
msg id
fn send_rps(&self) -> Result<i32>
type参数暂不支持
fn send_dice(&self) -> Result<i32>
type参数暂不支持
fn send_shake(&self) -> Result<i32>
fn send_anonymous(&self, ignore: bool, msg: impl ToString) -> Result<i32>
fn send_location(
&self,
latitude: f32,
longitude: f32,
title: &str,
content: &str
) -> Result<i32>
&self,
latitude: f32,
longitude: f32,
title: &str,
content: &str
) -> Result<i32>
fn send_music(&self, _type: &str, id: i32, style: i32) -> Result<i32>
fn send_music_custom(
&self,
url: &str,
audio: &str,
title: &str,
content: &str,
image: &str
) -> Result<i32>
&self,
url: &str,
audio: &str,
title: &str,
content: &str,
image: &str
) -> Result<i32>
fn send_share(
&self,
url: &str,
title: &str,
content: &str,
image: &str
) -> Result<i32>
&self,
url: &str,
title: &str,
content: &str,
image: &str
) -> Result<i32>