All Implemented Interfaces:
Validable
Version:
1.0
Use this method to send video files, Telegram clients support mp4 videos (other formats
may be sent as Document). On success, the sent Message is returned.
Author:
Ruben Bermudez
Nested Class Summary
Nested Classes
Field Summary
Fields
ALLOW_PAID_BROADCAST_FIELD , ALLOW_SENDING_WITHOUT_REPLY_FIELD , CHAT_ID_FIELD , DIRECT_MESSAGES_TOPIC_ID_FIELD , DISABLE_NOTIFICATION_FIELD , MESSAGE_EFFECT_ID_FIELD , MESSAGE_THREAD_ID_FIELD , PROTECT_CONTENT_FIELD , REPLY_MARKUP_FIELD , REPLY_PARAMETERS_FIELD , REPLY_TO_MESSAGE_ID_FIELD , SUGGESTED_POST_PARAMETERS_FIELD
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Deserialize a json answer to the response type to a method
void
void
Getter for method path (that is the same as method name)
void
void
Validates that mandatory fields are filled and optional objects
getAllowPaidBroadcast , getAllowSendingWithoutReply , getChatId , getDirectMessagesTopicId , getDisableNotification , getMessageEffectId , getMessageThreadId , getProtectContent , getReplyMarkup , getReplyParameters , getReplyToMessageId , getSuggestedPostParameters
Methods inherited from class Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Field Details
PATH
public static final String PATH
See Also:
VIDEO_FIELD
public static final String VIDEO_FIELD
See Also:
DURATION_FIELD
public static final String DURATION_FIELD
See Also:
CAPTION_FIELD
public static final String CAPTION_FIELD
See Also:
WIDTH_FIELD
public static final String WIDTH_FIELD
See Also:
HEIGHT_FIELD
public static final String HEIGHT_FIELD
See Also:
SUPPORTS_STREAMING_FIELD
public static final String SUPPORTS_STREAMING_FIELD
See Also:
PARSE_MODE_FIELD
public static final String PARSE_MODE_FIELD
See Also:
THUMBNAIL_FIELD
public static final String THUMBNAIL_FIELD
See Also:
CAPTION_ENTITIES_FIELD
public static final String CAPTION_ENTITIES_FIELD
See Also:
HAS_SPOILER_FIELD
public static final String HAS_SPOILER_FIELD
See Also:
BUSINESS_CONNECTION_ID_FIELD
public static final String BUSINESS_CONNECTION_ID_FIELD
See Also:
COVER_FIELD
public static final String COVER_FIELD
See Also:
START_TIMESTAMP_FIELD
public static final String START_TIMESTAMP_FIELD
See Also:
Constructor Details
SendVideo
public SendVideo ()
Method Details
setChatId
public void setChatId (@NonNull
@NonNull Long chatId)
enableNotification
public void enableNotification ()
disableNotification
public void disableNotification ()