package org.telegram.api.methods;
import org.telegram.api.objects.ReplyKeyboard;
public class SendDocument {
public static final String PATH = "senddocument";
public static final String CHATID_FIELD = "chat_id";
<BUG>private Integer chatId; ///< Unique identifier for the message recepient — User or GroupChat id
public static final String DOCUMENT_FIELD = "document";</BUG>
private String document; ///< File file to send. file_id as String to resend a file that is already on the Telegram servers
public static final String REPLYTOMESSAGEID_FIELD = "reply_to_message_id";
private Integer replayToMessageId; ///< Optional. If the message is a reply, ID of the original message

package org.telegram.api.methods;
import org.telegram.api.objects.ReplyKeyboard;
public class SendDocument {
public static final String PATH = "senddocument";
public static final String CHATID_FIELD = "chat_id";
private Integer chatId; ///< Unique identifier for the chat to send the message to
private String channelId; ///< Username for the channel to send the message to
public static final String DOCUMENT_FIELD = "document";
private String document; ///< File file to send. file_id as String to resend a file that is already on the Telegram servers
public static final String REPLYTOMESSAGEID_FIELD = "reply_to_message_id";
private Integer replayToMessageId; ///< Optional. If the message is a reply, ID of the original message
