Package com.pengrad.telegrambot.model
Class Message
- java.lang.Object
-
- com.pengrad.telegrambot.model.Message
-
- All Implemented Interfaces:
java.io.Serializable
public class Message extends java.lang.Object implements java.io.Serializable
stas 8/4/15.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
-
-
-
Method Detail
-
messageId
public java.lang.Integer messageId()
-
from
public User from()
-
senderChat
public Chat senderChat()
-
date
public java.lang.Integer date()
-
chat
public Chat chat()
-
forwardFrom
public User forwardFrom()
-
forwardFromChat
public Chat forwardFromChat()
-
forwardFromMessageId
public java.lang.Integer forwardFromMessageId()
-
forwardSignature
public java.lang.String forwardSignature()
-
forwardSenderName
public java.lang.String forwardSenderName()
-
forwardDate
public java.lang.Integer forwardDate()
-
replyToMessage
public Message replyToMessage()
-
viaBot
public User viaBot()
-
editDate
public java.lang.Integer editDate()
-
mediaGroupId
public java.lang.String mediaGroupId()
-
authorSignature
public java.lang.String authorSignature()
-
text
public java.lang.String text()
-
entities
public MessageEntity[] entities()
-
captionEntities
public MessageEntity[] captionEntities()
-
audio
public Audio audio()
-
document
public Document document()
-
animation
public Animation animation()
-
game
public Game game()
-
photo
public PhotoSize[] photo()
-
sticker
public Sticker sticker()
-
video
public Video video()
-
voice
public Voice voice()
-
videoNote
public VideoNote videoNote()
-
caption
public java.lang.String caption()
-
contact
public Contact contact()
-
location
public Location location()
-
venue
public Venue venue()
-
poll
public Poll poll()
-
dice
public Dice dice()
-
newChatMembers
public User[] newChatMembers()
-
leftChatMember
public User leftChatMember()
-
newChatTitle
public java.lang.String newChatTitle()
-
newChatPhoto
public PhotoSize[] newChatPhoto()
-
deleteChatPhoto
public java.lang.Boolean deleteChatPhoto()
-
groupChatCreated
public java.lang.Boolean groupChatCreated()
-
supergroupChatCreated
public java.lang.Boolean supergroupChatCreated()
-
channelChatCreated
public java.lang.Boolean channelChatCreated()
-
messageAutoDeleteTimerChanged
public MessageAutoDeleteTimerChanged messageAutoDeleteTimerChanged()
-
migrateToChatId
public java.lang.Long migrateToChatId()
-
migrateFromChatId
public java.lang.Long migrateFromChatId()
-
pinnedMessage
public Message pinnedMessage()
-
invoice
public Invoice invoice()
-
successfulPayment
public SuccessfulPayment successfulPayment()
-
connectedWebsite
public java.lang.String connectedWebsite()
-
passportData
public PassportData passportData()
-
proximityAlertTriggered
public ProximityAlertTriggered proximityAlertTriggered()
-
voiceChatStarted
public VoiceChatStarted voiceChatStarted()
-
voiceChatEnded
public VoiceChatEnded voiceChatEnded()
-
voiceChatParticipantsInvited
public VoiceChatParticipantsInvited voiceChatParticipantsInvited()
-
voiceChatScheduled
public VoiceChatScheduled voiceChatScheduled()
-
replyMarkup
public InlineKeyboardMarkup replyMarkup()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-