Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type GetChatMemberCount = "getChatMemberCount" :> (RequiredQueryParam "chat_id" SomeChatId :> Post '[JSON] (Response Integer))
- getChatMemberCount :: SomeChatId -> ClientM (Response Integer)
getChatMemberCount
type GetChatMemberCount = "getChatMemberCount" :> (RequiredQueryParam "chat_id" SomeChatId :> Post '[JSON] (Response Integer)) Source #
:: 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.