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 SummaryConstructorsConstructorDescriptionForwardMessage(Object chat_id, Object from_chat_id, int message_id, Api api) Required
- 
Method SummaryModifier and TypeMethodDescriptiondirectMessagesTopicId(int direct_messages_topic_id) OptionaldisableNotification(boolean disable_notification) OptionalmessageThreadId(int message_thread_id) OptionalprotectContent(boolean protect_content) OptionalsuggestedPostParameters(SuggestedPostParameters suggested_post_parameters) OptionalvideoStartTimestamp(int video_start_timestamp) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
ForwardMessage
 
- 
- 
Method Details- 
messageThreadIdOptional- Parameters:
- message_thread_id- Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
- Returns:
- ForwardMessage
 
- 
disableNotificationOptional- Parameters:
- disable_notification- Sends the message silently. Users will receive a notification with no sound.
- Returns:
- ForwardMessage
 
- 
protectContentOptional- Parameters:
- protect_content- Protects the contents of the forwarded message from forwarding and saving
- Returns:
- ForwardMessage
 
- 
videoStartTimestampOptional- Parameters:
- video_start_timestamp- New start timestamp for the forwarded video in the message
- Returns:
- ForwardMessage
 
- 
directMessagesTopicIdOptional- Parameters:
- direct_messages_topic_id- Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
- Returns:
- ForwardMessage
 
- 
suggestedPostParametersOptional- Parameters:
- suggested_post_parameters- A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.
- Returns:
- ForwardMessage
 
 
-