Class ForwardMessage
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<ForwardMessage, Message>
io.github.natanimn.telebof.requests.service.ForwardMessage
ForwardMessage class.
Returns
Message
on success.- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionForwardMessage
(Object chat_id, Object from_chat_id, int message_id, Api api) Required -
Method Summary
Modifier and TypeMethodDescriptiondisableNotification
(boolean disable_notification) OptionalmessageThreadId
(int message_thread_id) OptionalprotectContent
(boolean protect_content) OptionalvideoStartTimestamp
(int video_start_timestamp) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
ForwardMessage
-
-
Method Details
-
messageThreadId
Optional- Parameters:
message_thread_id
- Unique identifier for the target message thread (topic) of the forum; for forum supergroups only- Returns:
ForwardMessage
-
disableNotification
Optional- Parameters:
disable_notification
- Sends the message silently. Users will receive a notification with no sound.- Returns:
ForwardMessage
-
protectContent
Optional- Parameters:
protect_content
- Protects the contents of the forwarded message from forwarding and saving- Returns:
ForwardMessage
-
videoStartTimestamp
Optional- Parameters:
video_start_timestamp
- New start timestamp for the forwarded video in the message- Returns:
ForwardMessage
-