Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type GetChatMember = "getChatMember" :> (RequiredQueryParam "chat_id" SomeChatId :> (RequiredQueryParam "user_id" UserId :> Post '[JSON] (Response ChatMember)))
- getChatMember :: SomeChatId -> UserId -> ClientM (Response ChatMember)
getChatMember
type GetChatMember = "getChatMember" :> (RequiredQueryParam "chat_id" SomeChatId :> (RequiredQueryParam "user_id" UserId :> Post '[JSON] (Response ChatMember))) Source #
:: SomeChatId | Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) |
-> UserId | Unique identifier of the target user |
-> ClientM (Response ChatMember) |
Use this method to get information about a member of a chat. Returns a ChatMember object on success.