Class SendMediaGroup.SendMediaGroupBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendMediaGroup.SendMediaGroupBuilder
-
- Enclosing class:
- SendMediaGroup
public static class SendMediaGroup.SendMediaGroupBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendMediaGroup
build()
SendMediaGroup.SendMediaGroupBuilder
callback(java.util.function.Consumer<Message[]> callback)
SendMediaGroup.SendMediaGroupBuilder
chatId(ChatId chatId)
SendMediaGroup.SendMediaGroupBuilder
disableNotification(java.lang.Boolean disableNotification)
SendMediaGroup.SendMediaGroupBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendMediaGroup.SendMediaGroupBuilder
media(java.util.List<InputMedia> media)
SendMediaGroup.SendMediaGroupBuilder
replyMarkup(ReplyMarkup replyMarkup)
SendMediaGroup.SendMediaGroupBuilder
replyToMessageId(java.lang.Integer replyToMessageId)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public SendMediaGroup.SendMediaGroupBuilder callback(java.util.function.Consumer<Message[]> callback)
-
errorHandler
public SendMediaGroup.SendMediaGroupBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendMediaGroup.SendMediaGroupBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendMediaGroup.SendMediaGroupBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendMediaGroup.SendMediaGroupBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendMediaGroup.SendMediaGroupBuilder replyMarkup(ReplyMarkup replyMarkup)
-
media
public SendMediaGroup.SendMediaGroupBuilder media(java.util.List<InputMedia> media)
-
build
public SendMediaGroup build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-