All Implemented Interfaces:
Validable
Version:
1.0
Use this method to forward messages of any kind.
Service messages and messages with protected content can't be forwarded.
On success, the Message sent is returned.
Author:
Ruben Bermudez
Nested Class Summary
Nested Classes
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Getter for method path (that is the same as method name)
void
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:
Constructor Details
ForwardMessage
public ForwardMessage ()
Method Details
setChatId
public void setChatId (@NonNull
@NonNull Long chatId)
setFromChatId
public void setFromChatId (@NonNull
@NonNull Long fromChatId)