Class UnbanChatMember

java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<UnbanChatMember, Boolean>
io.github.natanimn.telebof.requests.service.UnbanChatMember

public class UnbanChatMember extends AbstractBaseRequest<UnbanChatMember, Boolean>
UnbanChatMember class. Returns True on success.
Since:
3 March 2025
See Also:
  • Constructor Details

    • UnbanChatMember

      public UnbanChatMember(Object chat_id, long user_id, Api api)
      Required
      Parameters:
      chat_id - chat id
      user_id - user id
      api - api
  • Method Details

    • onlyIfBanned

      public UnbanChatMember onlyIfBanned(boolean only_if_banned)
      Optional
      Parameters:
      only_if_banned - Do nothing if the user is not banned
      Returns:
      UnbanChatMember