Class ForwardMessages
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<ForwardMessages, List<MessageId>>
io.github.natanimn.telebof.requests.service.ForwardMessages
ForwardMessages class
On success, an array of
MessageId
of the sent messages is returned.- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionForwardMessages
(Object chatId, Object fromChatId, Integer[] message_ids, Api api) -
Method Summary
Modifier and TypeMethodDescriptiondisableNotification
(boolean disable_notification) OptionalmessageThreadId
(int message_thread_id) OptionalprotectContent
(boolean protect_content) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
ForwardMessages
-
-
Method Details
-
messageThreadId
Optional- Parameters:
message_thread_id
- Unique identifier for the target message thread (topic) of the forum; for forum supergroups only- Returns:
ForwardMessages
-
disableNotification
Optional- Parameters:
disable_notification
- Sends the messages silently. Users will receive a notification with no sound.- Returns:
ForwardMessages
-
protectContent
Optional- Parameters:
protect_content
- Protects the contents of the forwarded messages from forwarding and saving- Returns:
ForwardMessages
-