Struct miraie::api::send_friend_message::Request[][src]

pub struct Request {
    pub target: QQ,
    pub quote: Option<i64>,
    pub message: MessageChain,
}

Fields

target: QQ

发送消息目标好友的QQ号

quote: Option<i64>

引用一条消息的messageId进行回复

message: MessageChain

消息链,是一个消息对象构成的数组

Trait Implementations

请求返回的类型

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.