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