Class PinChatMessage.PinChatMessageBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.chat.admin.PinChatMessage.PinChatMessageBuilder
-
- Enclosing class:
- PinChatMessage
public static class PinChatMessage.PinChatMessageBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PinChatMessage
build()
PinChatMessage.PinChatMessageBuilder
callback(java.lang.Runnable callback)
PinChatMessage.PinChatMessageBuilder
chatId(ChatId chatId)
PinChatMessage.PinChatMessageBuilder
disableNotification(java.lang.Boolean disableNotification)
PinChatMessage.PinChatMessageBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
PinChatMessage.PinChatMessageBuilder
messageId(java.lang.Integer messageId)
java.lang.String
toString()
-
-
-
Method Detail
-
errorHandler
public PinChatMessage.PinChatMessageBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
callback
public PinChatMessage.PinChatMessageBuilder callback(java.lang.Runnable callback)
-
chatId
public PinChatMessage.PinChatMessageBuilder chatId(ChatId chatId)
-
messageId
public PinChatMessage.PinChatMessageBuilder messageId(java.lang.Integer messageId)
-
disableNotification
public PinChatMessage.PinChatMessageBuilder disableNotification(java.lang.Boolean disableNotification)
-
build
public PinChatMessage build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-