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