restrictChatMember
inline fun TelegramBot.restrictChatMember(userId: Long, untilDate: Instant? = null, useIndependentChatPermissions: Boolean? = null, noinline chatPermissions: ChatPermissions.() -> Unit): RestrictChatMemberAction(source)
inline fun TelegramBot.restrictChatMember(userId: Long, chatPermissions: ChatPermissions, untilDate: Instant? = null, useIndependentChatPermissions: Boolean? = null): RestrictChatMemberAction(source)
inline fun TelegramBot.restrictChatMember(user: User, untilDate: Instant? = null, useIndependentChatPermissions: Boolean? = null, noinline chatPermissions: ChatPermissions.() -> Unit): RestrictChatMemberAction(source)
inline fun TelegramBot.restrictChatMember(user: User, chatPermissions: ChatPermissions, untilDate: Instant? = null, useIndependentChatPermissions: Boolean? = null): RestrictChatMemberAction(source)