Package top.focess.qq.api.bot.contact
Interface Transmitter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsendMessage(String message)Send a message to this contactvoidsendMessage(Message message)Send a message to this contactImageuploadImage(InputStream resource)Upload a image to this contact
-
-
-
Method Detail
-
sendMessage
void sendMessage(String message)
Send a message to this contact- Parameters:
message- the message to send
-
sendMessage
void sendMessage(Message message)
Send a message to this contact- Parameters:
message- the message to send
-
uploadImage
Image uploadImage(InputStream resource)
Upload a image to this contact- Parameters:
resource- the image to upload- Returns:
- the uploaded image
-
-