# restrictChatMember - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.chat.members / restrictChatMember

# restrictChatMember

(common) `suspend fun RequestsExecutor.restrictChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate? = null, permissions: ChatPermissions = ChatPermissions()): Boolean` (source)
`suspend fun RequestsExecutor.restrictChatMember(chat: PublicChat, userId: UserId, untilDate: TelegramDate? = null, permissions: ChatPermissions = ChatPermissions()): Boolean` (source)
`suspend fun RequestsExecutor.restrictChatMember(chatId: ChatId, user: User, untilDate: TelegramDate? = null, permissions: ChatPermissions = ChatPermissions()): Boolean` (source)
`suspend fun RequestsExecutor.restrictChatMember(chat: PublicChat, user: User, untilDate: TelegramDate? = null, permissions: ChatPermissions = ChatPermissions()): Boolean` (source)