Class Message
Object
Message
- All Implemented Interfaces:
Serializable,BotApiObject,MaybeInaccessibleMessage
This object represents a message.
- Version:
- 1.0
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanhasAudio()booleanbooleanbooleanbooleanbooleanhasDice()booleanbooleanbooleanbooleanbooleanbooleanhasGame()booleanbooleanbooleanbooleanbooleanbooleanhasPhoto()booleanhasPoll()booleanbooleanbooleanbooleanhasStory()booleanbooleanhasText()booleanbooleanbooleanhasVideo()booleanbooleanbooleanbooleanbooleanbooleanhasVoice()booleanbooleanbooleanbooleanbooleanbooleanisReply()booleanbooleanbooleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MaybeInaccessibleMessage
getChat, getDate, getMessageId
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
getEntities
-
getCaptionEntities
-
getNewChatMembers
-
hasSticker
public boolean hasSticker() -
isTopicMessage
public boolean isTopicMessage() -
isGroupMessage
public boolean isGroupMessage()- Specified by:
isGroupMessagein interfaceMaybeInaccessibleMessage
-
isUserMessage
public boolean isUserMessage()- Specified by:
isUserMessagein interfaceMaybeInaccessibleMessage
-
isChannelMessage
public boolean isChannelMessage() -
isSuperGroupMessage
public boolean isSuperGroupMessage()- Specified by:
isSuperGroupMessagein interfaceMaybeInaccessibleMessage
-
getChatId
- Specified by:
getChatIdin interfaceMaybeInaccessibleMessage
-
hasText
public boolean hasText() -
isCommand
public boolean isCommand() -
hasDocument
public boolean hasDocument() -
hasVideo
public boolean hasVideo() -
hasAudio
public boolean hasAudio() -
hasVoice
public boolean hasVoice() -
isReply
public boolean isReply() -
hasLocation
public boolean hasLocation() -
hasGame
public boolean hasGame() -
hasEntities
public boolean hasEntities() -
hasPhoto
public boolean hasPhoto() -
hasInvoice
public boolean hasInvoice() -
hasSuccessfulPayment
public boolean hasSuccessfulPayment() -
hasContact
public boolean hasContact() -
hasVideoNote
public boolean hasVideoNote() -
hasPassportData
public boolean hasPassportData() -
hasAnimation
public boolean hasAnimation() -
hasPoll
public boolean hasPoll() -
hasDice
public boolean hasDice() -
hasViaBot
public boolean hasViaBot() -
hasReplyMarkup
public boolean hasReplyMarkup() -
hasMessageAutoDeleteTimerChanged
public boolean hasMessageAutoDeleteTimerChanged() -
hasWebAppData
public boolean hasWebAppData() -
hasVideoChatStarted
public boolean hasVideoChatStarted() -
hasVideoChatEnded
public boolean hasVideoChatEnded() -
hasVideoChatScheduled
public boolean hasVideoChatScheduled() -
hasVideoChatParticipantsInvited
public boolean hasVideoChatParticipantsInvited() -
hasForumTopicCreated
public boolean hasForumTopicCreated() -
hasForumTopicClosed
public boolean hasForumTopicClosed() -
hasForumTopicReopened
public boolean hasForumTopicReopened() -
hasStory
public boolean hasStory() -
hasWriteAccessAllowed
public boolean hasWriteAccessAllowed() -
hasReplyToStory
public boolean hasReplyToStory() -
hasBoostAdded
public boolean hasBoostAdded() -
hasPaidMedia
public boolean hasPaidMedia() -
hasCaption
public boolean hasCaption()
-