Safe Haskell | None |
---|---|
Language | Haskell98 |
This module contains base VK API types
See VK development docs for the details
- data Response a = Response {}
- emptyResponse :: Monoid a => Response a
- parseJSON_obj_error :: String -> Value -> Parser a
- data SizedList a = SizedList Int [a]
- data MusicRecord = MusicRecord {
- mr_id :: Int
- mr_owner_id :: Int
- mr_artist :: String
- mr_title :: String
- mr_duration :: Int
- mr_url_str :: String
- data UserRecord = UserRecord {}
- data ErrorCode
- data ErrorRecord = ErrorRecord {}
- data WallRecord = WallRecord {}
- publishedAt :: WallRecord -> UTCTime
- data Sized a = Sized {}
- data Deact
- = Banned
- | Deleted
- | OtherDeact Text
- data GroupType
- data GroupIsClosed
- data GroupRecord = GroupRecord {
- gr_id :: Int
- gr_name :: Text
- gr_screen_name :: Text
- gr_is_closed :: GroupIsClosed
- gr_deact :: Maybe Deact
- gr_is_admin :: Int
- gr_admin_level :: Maybe Int
- gr_is_member :: Bool
- gr_member_status :: Maybe Int
- gr_invited_by :: Maybe Int
- gr_type :: GroupType
- gr_has_photo :: Bool
- gr_photo_50 :: String
- gr_photo_100 :: String
- gr_photo_200 :: String
- gr_can_post :: Maybe Bool
- gr_members_count :: Maybe Int
- groupURL :: GroupRecord -> String
- data Country = Country {}
- data City = City {
- c_city_id :: Integer
- c_title :: Text
- c_maybe_area :: Maybe Text
- c_maybe_region :: Maybe Text
- data Album = Album {}
- data PhotoUploadServer = PhotoUploadServer {}
- data OwnerUploadServer = OwnerUploadServer {}
- data UploadRecord = UploadRecord {}
- data PhotoSaveResult = PhotoSaveResult {
- photo_hash :: Text
- photo_src :: Text
Documentation
emptyResponse :: Monoid a => Response a Source #
DEPRECATED, use Sized
instead
data MusicRecord Source #
MusicRecord | |
|
data UserRecord Source #
UserRecord | |
|
data WallRecord Source #
Wall post representation (partial)
See also https://vk.com/dev/objects/post
publishedAt :: WallRecord -> UTCTime Source #
data GroupIsClosed Source #
data GroupRecord Source #
GroupRecord | |
|
groupURL :: GroupRecord -> String Source #
data PhotoUploadServer Source #
data OwnerUploadServer Source #