telegram-bot-simple-0.5.2: Easy to use library for building Telegram bots.
Safe HaskellNone
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.