public class SendMessage.MessageSpec extends Object
构造器和说明 |
---|
MessageSpec(String from,
String toType,
Set<String> tos) |
限定符和类型 | 方法和说明 |
---|---|
SendMessage.SendSpec |
command(Consumer<EMCommandMessage> customizer) |
SendMessage.SendSpec |
custom(Consumer<EMCustomMessage> customizer) |
SendMessage.SendSpec |
file(Consumer<EMFileMessage> customizer) |
SendMessage.SendSpec |
image(Consumer<EMImageMessage> customizer) |
SendMessage.SendSpec |
location(Consumer<EMLocationMessage> customizer) |
SendMessage.SendSpec |
text(Consumer<EMTextMessage> customizer) |
SendMessage.SendSpec |
video(Consumer<EMVideoMessage> customizer) |
SendMessage.SendSpec |
voice(Consumer<EMVoiceMessage> customizer) |
public SendMessage.SendSpec text(Consumer<EMTextMessage> customizer)
public SendMessage.SendSpec image(Consumer<EMImageMessage> customizer)
public SendMessage.SendSpec voice(Consumer<EMVoiceMessage> customizer)
public SendMessage.SendSpec video(Consumer<EMVideoMessage> customizer)
public SendMessage.SendSpec location(Consumer<EMLocationMessage> customizer)
public SendMessage.SendSpec file(Consumer<EMFileMessage> customizer)
public SendMessage.SendSpec command(Consumer<EMCommandMessage> customizer)
public SendMessage.SendSpec custom(Consumer<EMCustomMessage> customizer)
Copyright © 2024. All rights reserved.