Restrict Chat Member Action
class RestrictChatMemberAction(userId: Long, permissions: ChatPermissions, untilDate: Instant? = null, useIndependentChatPermissions: Boolean? = null) : Action<Boolean>
Constructors
Link copied to clipboard
constructor(userId: Long, permissions: ChatPermissions, untilDate: Instant? = null, useIndependentChatPermissions: Boolean? = null)
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun Request<Boolean>.doRequestReturning(bot: TelegramBot): Deferred<Response<out Boolean>>
Link copied to clipboard
Make a request for action.
Link copied to clipboard
Make a request for action returning its Response.
Link copied to clipboard
Link copied to clipboard
Payload to make response for the webhook request as described there.