Module

Mailgun.MailingListMembers

Package
purescript-mailgun
Repository
piq9117/purescript-mailgun

Programmatically work with mailing list members.

#Members Source

data Members :: Type

#YesOrNo Source

data YesOrNo

Constructors

#members Source

members :: MailingList -> Maybe String -> Members

members api.

#list Source

list :: forall a. Members -> Callback a -> Effect Unit

Fetches the list of maling list members.

#page Source

page :: forall a. Members -> Callback a -> Effect Unit

Paginate over list members in the given mailing list

#info Source

info :: forall a. Members -> Callback a -> Effect Unit

Retrieve a mailing list member.

#create Source

create :: forall a. Members -> MemberListAttr -> Callback a -> Effect Unit

Adds a member to the maling list.

#add Source

add :: forall a. Members -> Array AddMembersAttr -> Callback a -> Effect Unit

Adds multiple members, up to 1,000 per call, to a Mailing List.

#update Source

update :: forall a. Members -> MemberListAttr -> Callback a -> Effect Unit

Updates a mailing list member with give properties.

#delete Source

delete :: forall a. Members -> Callback a -> Effect Unit

Delete a mailing list member.