public class SendPhoto extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CAPTION_FIELD |
static String |
CHATID_FIELD |
static String |
DISABLENOTIFICATION_FIELD |
static String |
PATH |
static String |
PHOTO_FIELD |
static String |
REPLYMARKUP_FIELD |
static String |
REPLYTOMESSAGEID_FIELD |
| Constructor and Description |
|---|
SendPhoto() |
| Modifier and Type | Method and Description |
|---|---|
SendPhoto |
disableNotification() |
SendPhoto |
enableNotification() |
String |
getCaption() |
String |
getChatId() |
Boolean |
getDisableNotification() |
File |
getNewPhotoFile() |
InputStream |
getNewPhotoStream() |
String |
getPhoto() |
String |
getPhotoName() |
ReplyKeyboard |
getReplyMarkup() |
Integer |
getReplyToMessageId() |
boolean |
isNewPhoto() |
SendPhoto |
setCaption(String caption) |
SendPhoto |
setChatId(String chatId) |
SendPhoto |
setNewPhoto(File file) |
SendPhoto |
setNewPhoto(String photoName,
InputStream inputStream) |
SendPhoto |
setPhoto(String photo) |
SendPhoto |
setReplyMarkup(ReplyKeyboard replyMarkup) |
SendPhoto |
setReplyToMessageId(Integer replyToMessageId) |
String |
toString() |
public static final String PATH
public static final String CHATID_FIELD
public static final String PHOTO_FIELD
public static final String CAPTION_FIELD
public static final String DISABLENOTIFICATION_FIELD
public static final String REPLYTOMESSAGEID_FIELD
public static final String REPLYMARKUP_FIELD
public String getChatId()
public String getPhoto()
public String getCaption()
public Integer getReplyToMessageId()
public ReplyKeyboard getReplyMarkup()
public SendPhoto setReplyMarkup(ReplyKeyboard replyMarkup)
public boolean isNewPhoto()
public String getPhotoName()
public File getNewPhotoFile()
public InputStream getNewPhotoStream()
public Boolean getDisableNotification()
public SendPhoto enableNotification()
public SendPhoto disableNotification()
public SendPhoto setNewPhoto(String photoName, InputStream inputStream)
Copyright © 2016. All rights reserved.