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

Telegram.Bot.API.Methods.GetChatMemberCount

Synopsis

getChatMemberCount

type GetChatMemberCount = "getChatMemberCount" :> (RequiredQueryParam "chat_id" SomeChatId :> Post '[JSON] (Response Integer)) Source #

getChatMemberCount Source #

Arguments

:: SomeChatId

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

-> ClientM (Response Integer) 

Use this method to get the number of members in a chat. Returns Int on success.