public class Message extends Object implements BotApiObject
| Constructor and Description |
|---|
Message() |
public Integer getMessageId()
public User getFrom()
public Integer getDate()
public Chat getChat()
public User getForwardFrom()
public Integer getForwardDate()
public String getText()
public List<MessageEntity> getEntities()
public Audio getAudio()
public Document getDocument()
public Sticker getSticker()
public Video getVideo()
public Contact getContact()
public Location getLocation()
public Venue getVenue()
public Message getPinnedMessage()
public User getLeftChatMember()
public String getNewChatTitle()
public Boolean getDeleteChatPhoto()
public Boolean getGroupchatCreated()
public Message getReplyToMessage()
public Voice getVoice()
public String getCaption()
public Boolean getSuperGroupCreated()
public Boolean getChannelChatCreated()
public Long getMigrateToChatId()
public Long getMigrateFromChatId()
public Integer getForwardFromMessageId()
public boolean isGroupMessage()
public boolean isUserMessage()
public boolean isChannelMessage()
public boolean isSuperGroupMessage()
public Long getChatId()
public boolean hasText()
public boolean isCommand()
public boolean hasDocument()
public boolean isReply()
public boolean hasLocation()
public Chat getForwardFromChat()
public Integer getEditDate()
public Game getGame()
public boolean hasEntities()
public boolean hasPhoto()
public boolean hasInvoice()
public boolean hasSuccessfulPayment()
public Invoice getInvoice()
public SuccessfulPayment getSuccessfulPayment()
public VideoNote getVideoNote()
Copyright © 2017. All rights reserved.