Package com.jtelegram.api.message.impl
Class VideoNoteMessage
- java.lang.Object
-
- com.jtelegram.api.message.Message<T>
-
- com.jtelegram.api.message.CaptionableMessage<VideoNote>
-
- com.jtelegram.api.message.impl.VideoNoteMessage
-
public class VideoNoteMessage extends CaptionableMessage<VideoNote>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jtelegram.api.message.Message
Message.Deserializer
-
-
Constructor Summary
Constructors Constructor Description VideoNoteMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoNote
getContent()
VideoNote
getVideoNote()
EditMessageCaption.EditMessageCaptionBuilder
toEditCaptionRequest()
Creates a request builder for editing the caption of this message.java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.CaptionableMessage
getCaption, getCaptionEntities
-
Methods inherited from class com.jtelegram.api.message.Message
getAuthorSignature, getChat, getDate, getEditDate, getForwardDate, getForwardedFrom, getForwardedFromChat, getForwardedFromMessageId, getForwardSignature, getFrom, getMessageId, getReplyToMessage, getSender, toDeleteRequest, toEditReplyMarkupRequest, toForwardRequest
-
-
-
-
Method Detail
-
getContent
public VideoNote getContent()
- Specified by:
getContent
in classMessage<VideoNote>
-
toEditCaptionRequest
public EditMessageCaption.EditMessageCaptionBuilder toEditCaptionRequest()
Creates a request builder for editing the caption of this message.- Returns:
- the request builder
-
getVideoNote
public VideoNote getVideoNote()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCaptionableMessage<VideoNote>
-
-