fixed bug with caption
This commit is contained in:
parent
61527b9737
commit
d52e8f22a4
|
@ -139,8 +139,8 @@ public class MessageBuilder {
|
|||
String text = "";
|
||||
if(attachmenttype != Attachment.none) {
|
||||
if(caption != null)
|
||||
attachment += "&caption=" + caption;
|
||||
attachment = "&" + attachmenttype.name().toLowerCase() + "=" + this.attachment;
|
||||
attachment = "&caption=" + caption;
|
||||
attachment += "&" + attachmenttype.name().toLowerCase() + "=" + this.attachment;
|
||||
cmd = "send" + attachmenttype.name();
|
||||
} else {
|
||||
cmd = "sendMessage";
|
||||
|
|
Loading…
Reference in New Issue