swift SDk,如何实现发送名片或红包的自定义消息类型

细读了“扩展自己的消息类型”这部分文档,简单实现了:
// 定义 CustomMessage 类
class CustomMessage: IMCategorizedMessage {

// 指定 type 类型,可以根据实际换成其他正整数
class override var messageType: MessageType {
    return 1
}

}

// 注册消息类型
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

do {
    try CustomMessage.register()
} catch {
    print(error)
    return false
}

return true

}
以上可以成功发送简单的自定义消息(发送文本或使用attributes),如果想实现一个发送名片、红包的自定义消息类型,还是一头雾水,最好能有一个swift版的demo,谢谢啦
可不可以在 https://github.com/leancloud/swift-sdk-demo 里增加自定义消息类型方便大家借鉴

感谢您的提议,我们会认真考虑该建议,不过短期内没有相关计划。