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