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