marvin-0.2.4: A framework for modular, portable chat bots.

Copyright(c) Justus Adam 2017
LicenseBSD3
Maintainerdev@justus.science
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Marvin.Adapter.Telegram.Poll

Description

Caveats:

resolveUser and resolveChannel resolving are not yet supported in this adapter and always returns Nothing. See #10.

Synopsis

Documentation

data Poll Source #

Use the telegram API by fetching updates via HTTP

class MkTelegram a Source #

Class to enable polymorphism over update mechanics for TelegramAdapter

Minimal complete definition

mkEventGetter, mkAdapterId

class HasId_ s a | s -> a where Source #

Minimal complete definition

id_

Methods

id_ :: Lens' s a Source #

class HasType_ s a | s -> a where Source #

Minimal complete definition

type_

Methods

type_ :: Lens' s a Source #