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