Function scheme_send

Source
pub fn scheme_send(
    category: SendSchemeCategory,
    data: &[u8],
    conversation_id: &str,
) -> String
Expand description

scheme of a share

category required, category of shared content data required, shared content conversationID optional, If you specify conversation and it is the conversation of the user’s current session, the confirmation box shown above will appear, the message will be sent after the user clicks the confirmation; if the conversation is not specified or is not the conversation of the current session, an interface where the user chooses which session to share with will show up.

https://developers.mixin.one/docs/schema#sharing