Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data EditChatInviteLinkRequest = EditChatInviteLinkRequest {}
- type EditChatInviteLink = "editChatInviteLink" :> (ReqBody '[JSON] EditChatInviteLinkRequest :> Post '[JSON] (Response ChatInviteLink))
- editChatInviteLink :: EditChatInviteLinkRequest -> ClientM (Response ChatInviteLink)
editChatInviteLink
data EditChatInviteLinkRequest Source #
Request parameters for editChatInviteLink
.
EditChatInviteLinkRequest | |
|
Instances
type EditChatInviteLink = "editChatInviteLink" :> (ReqBody '[JSON] EditChatInviteLinkRequest :> Post '[JSON] (Response ChatInviteLink)) Source #
editChatInviteLink :: EditChatInviteLinkRequest -> ClientM (Response ChatInviteLink) Source #
Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the edited invite link as a ChatInviteLink object.