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:
Ruben Bermudez 2019-01-02 14:20:09 +01:00 committed by GitHub
commit 6b0a738dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@ package org.telegram.telegrambots.meta.api.methods.send;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.type.TypeReference;
import org.telegram.telegrambots.meta.api.methods.BotApiMethod;
import org.telegram.telegrambots.meta.api.methods.ParseMode;
import org.telegram.telegrambots.meta.api.objects.Message;
@ -222,6 +221,7 @@ public class SendMessage extends BotApiMethod<Message> {
"chatId='" + chatId + '\'' +
", text='" + text + '\'' +
", parseMode='" + parseMode + '\'' +
", disableNotification='" + disableNotification + '\'' +
", disableWebPagePreview=" + disableWebPagePreview +
", replyToMessageId=" + replyToMessageId +
", replyMarkup=" + replyMarkup +