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 List<MessageEntity> getCaptionEntities()
public Audio getAudio()
public Document getDocument()
public Sticker getSticker()
public boolean hasSticker()
public Video getVideo()
public Animation getAnimation()
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 hasVideo()
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 boolean hasContact()
public Invoice getInvoice()
public SuccessfulPayment getSuccessfulPayment()
public VideoNote getVideoNote()
public boolean hasVideoNote()
public String getAuthorSignature()
public String getForwardSignature()
public String getMediaGroupId()
public String getConnectedWebsite()
public PassportData getPassportData()
public boolean hasPassportData()
public boolean hasAnimation()
Copyright © 2019. All rights reserved.