Merge pull request #565 from Chase22/FIX/Missing-Field-disableNotifications-in-SendMessge-toString
Add missing "disableNotification" field to toString() of SendMessage class
This commit is contained in:
commit
6b0a738dac
@ -2,7 +2,6 @@ package org.telegram.telegrambots.meta.api.methods.send;
|
|||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import com.fasterxml.jackson.core.type.TypeReference;
|
import com.fasterxml.jackson.core.type.TypeReference;
|
||||||
|
|
||||||
import org.telegram.telegrambots.meta.api.methods.BotApiMethod;
|
import org.telegram.telegrambots.meta.api.methods.BotApiMethod;
|
||||||
import org.telegram.telegrambots.meta.api.methods.ParseMode;
|
import org.telegram.telegrambots.meta.api.methods.ParseMode;
|
||||||
import org.telegram.telegrambots.meta.api.objects.Message;
|
import org.telegram.telegrambots.meta.api.objects.Message;
|
||||||
@ -222,6 +221,7 @@ public class SendMessage extends BotApiMethod<Message> {
|
|||||||
"chatId='" + chatId + '\'' +
|
"chatId='" + chatId + '\'' +
|
||||||
", text='" + text + '\'' +
|
", text='" + text + '\'' +
|
||||||
", parseMode='" + parseMode + '\'' +
|
", parseMode='" + parseMode + '\'' +
|
||||||
|
", disableNotification='" + disableNotification + '\'' +
|
||||||
", disableWebPagePreview=" + disableWebPagePreview +
|
", disableWebPagePreview=" + disableWebPagePreview +
|
||||||
", replyToMessageId=" + replyToMessageId +
|
", replyToMessageId=" + replyToMessageId +
|
||||||
", replyMarkup=" + replyMarkup +
|
", replyMarkup=" + replyMarkup +
|
||||||
|
Loading…
Reference in New Issue
Block a user