Wire.API.Bot
data AddBot Source #
Defined in Wire.API.Bot
Methods
parseJSON :: Value -> Parser AddBot Source #
parseJSONList :: Value -> Parser [AddBot] Source #
toJSON :: AddBot -> Value Source #
toEncoding :: AddBot -> Encoding Source #
toJSONList :: [AddBot] -> Value Source #
toEncodingList :: [AddBot] -> Encoding Source #
declareNamedSchema :: Proxy AddBot -> Declare (Definitions Schema) NamedSchema Source #
schema :: ValueSchema NamedSwaggerDoc AddBot Source #
addBot :: ServiceRef -> ConvId -> BotId -> ClientId -> AddBot Source #
addBotService :: Lens' AddBot ServiceRef Source #
addBotConv :: Lens' AddBot ConvId Source #
addBotId :: Lens' AddBot BotId Source #
addBotClient :: Lens' AddBot ClientId Source #
data RemoveBot Source #
parseJSON :: Value -> Parser RemoveBot Source #
parseJSONList :: Value -> Parser [RemoveBot] Source #
toJSON :: RemoveBot -> Value Source #
toEncoding :: RemoveBot -> Encoding Source #
toJSONList :: [RemoveBot] -> Value Source #
toEncodingList :: [RemoveBot] -> Encoding Source #
declareNamedSchema :: Proxy RemoveBot -> Declare (Definitions Schema) NamedSchema Source #
schema :: ValueSchema NamedSwaggerDoc RemoveBot Source #
removeBot :: ConvId -> BotId -> RemoveBot Source #
rmBotConv :: Lens' RemoveBot ConvId Source #
rmBotId :: Lens' RemoveBot BotId Source #