Class SendBuilder<T,R>
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<T,R>
io.github.natanimn.telebof.requests.send.SendBuilder<T,R>
- Direct Known Subclasses:
SendAnimation
,SendAudio
,SendContact
,SendDocument
,SendGame
,SendInvoice
,SendMediaGroup
,SendMessage
,SendPhoto
,SendSticker
,SendVenue
,SendVideo
,SendVideoNote
,SendVoice
Common parameters builder for sendXyz methods
- Since:
- 3 March 2025
-
Constructor Summary
ConstructorsConstructorDescriptionSendBuilder
(Object chatId, Api api, String methodName) SendBuilder
(Object chatId, Api api, String methodName, Type type) -
Method Summary
Modifier and TypeMethodDescriptionallowPaidBroadcast
(boolean allow_paid_broadcast) OptionalbusinessConnectionId
(String business_connection_id) OptionaldisableNotification
(boolean disable_notification) OptionaldisableWebPagePreview
(boolean disable_web_page_preview) messageEffectId
(String message_effect_id) OptionalmessageThreadId
(int message_thread_id) OptionalOptionalprotectContent
(boolean protect_content) OptionalreplyMarkup
(Markup reply_markup) OptionalreplyParameters
(ReplyParameters reply_parameters) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendBuilder
-
SendBuilder
-
-
Method Details
-
messageThreadId
-
parseMode
-
disableWebPagePreview
-
disableNotification
-
protectContent
-
replyParameters
Optional- Parameters:
reply_parameters
- Description of the message to reply to- Returns:
T
-
replyMarkup
-
businessConnectionId
-
messageEffectId
-
allowPaidBroadcast
-