telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Chat

Synopsis

Available methods

kickChatMember

type KickChatMember = "kickChatMember" :> (RequiredQueryParam "chat_id" ChatId :> (RequiredQueryParam "user_id" UserId :> Get '[JSON] (Response Bool))) Source #

kickChatMember :: ChatId -> UserId -> ClientM (Response Bool) Source #

Use this method to kick user from chat. On success, the sent Bool is returned.