telegramium.bots.client.UnbanChatMemberReq.scala Maven / Gradle / Ivy
package telegramium.bots.client
import telegramium.bots.ChatId
/** @param chatId
* Unique identifier for the target group or username of the target supergroup or channel (in the format
* @channelusername)
* @param userId
* Unique identifier of the target user
* @param onlyIfBanned
* Do nothing if the user is not banned
*/
final case class UnbanChatMemberReq(chatId: ChatId, userId: Long, onlyIfBanned: Option[Boolean] = Option.empty)