telega-0.1.0: Telegram Bot API binding
Network.Telegram.API.Bot.Capacity.Postable
class FromJSON a => Postable a where Source #
Minimal complete definition
initial_value, post_endpoint
Methods
initial_value :: Initial a -> Value Source #
post_endpoint :: Initial a -> String Source #
post :: Initial a -> Telegram e a Source #
Defined in Network.Telegram.API.Bot.Object.Message
initial_value :: Initial Message -> Value Source #
post_endpoint :: Initial Message -> String Source #
post :: Initial Message -> Telegram e Message Source #
type family Initial a = r | r -> a Source #