Package com.jtelegram.api.message
Class CaptionableMessage<T>
- java.lang.Object
-
- com.jtelegram.api.message.Message<T>
-
- com.jtelegram.api.message.CaptionableMessage<T>
-
- Direct Known Subclasses:
AudioMessage
,DocumentMessage
,PhotoMessage
,VideoMessage
,VideoNoteMessage
,VoiceMessage
public abstract class CaptionableMessage<T> extends Message<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jtelegram.api.message.Message
Message.Deserializer
-
-
Constructor Summary
Constructors Constructor Description CaptionableMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaption()
java.util.List<MessageEntity>
getCaptionEntities()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.Message
getAuthorSignature, getChat, getContent, getDate, getEditDate, getForwardDate, getForwardedFrom, getForwardedFromChat, getForwardedFromMessageId, getForwardSignature, getFrom, getMessageId, getReplyToMessage, getSender, toDeleteRequest, toEditReplyMarkupRequest, toForwardRequest
-
-
-
-
Method Detail
-
getCaptionEntities
public java.util.List<MessageEntity> getCaptionEntities()
-
getCaption
public java.lang.String getCaption()
-
-