- All Implemented Interfaces:
Validable
- Version:
- 7.5
Use this method to send paid media to channel chats. On success, the sent Message is returned.
- Author:
- Ruben Bermudez
-
Nested Class Summary
Nested Classes
-
-
Constructor Summary
Constructors
-
Method Summary
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
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:
-
-
CHAT_ID_FIELD
public static final String CHAT_ID_FIELD
- See Also:
-
-
STAR_COUNT_FIELD
public static final String STAR_COUNT_FIELD
- See Also:
-
-
-
CAPTION_FIELD
public static final String CAPTION_FIELD
- See Also:
-
-
PARSE_MODE_FIELD
public static final String PARSE_MODE_FIELD
- See Also:
-
-
CAPTION_ENTITIES_FIELD
public static final String CAPTION_ENTITIES_FIELD
- See Also:
-
-
-
DISABLE_NOTIFICATION_FIELD
public static final String DISABLE_NOTIFICATION_FIELD
- See Also:
-
-
PROTECT_CONTENT_FIELD
public static final String PROTECT_CONTENT_FIELD
- See Also:
-
-
REPLY_PARAMETERS_FIELD
public static final String REPLY_PARAMETERS_FIELD
- See Also:
-
-
REPLY_MARKUP_FIELD
public static final String REPLY_MARKUP_FIELD
- See Also:
-
-
BUSINESS_CONNECTION_ID_FIELD
public static final String BUSINESS_CONNECTION_ID_FIELD
- See Also:
-
-
PAYLOAD_FIELD
public static final String PAYLOAD_FIELD
- See Also:
-
-
ALLOW_PAID_BROADCAST_FIELD
public static final String ALLOW_PAID_BROADCAST_FIELD
- See Also:
-
-
Constructor Details
-
SendPaidMedia
public SendPaidMedia()
-
Method Details
-
setChatId
public void setChatId(@NonNull
@NonNull Long chatId)
-
enableNotification
public void enableNotification()
-
disableNotification
public void disableNotification()
-
-
-