Skip to content

Instantly share code, notes, and snippets.

@bjartwolf
Created December 15, 2014 18:18
Show Gist options
  • Save bjartwolf/217e0e70f708029716b5 to your computer and use it in GitHub Desktop.
Save bjartwolf/217e0e70f708029716b5 to your computer and use it in GitHub Desktop.
smstypes.fs
module SmsTypes
open PSWinCom.Gateway.Client;
type SmsStatus = Response of MessageResult | Error of System.Exception
type FdkSms = string * string
type UnknownError = { Error: string}
type SmsLogMessage = { ReceiverNumber : string;
Body: string;
MessageStatus : string;
MessageStatusText : string;
UserReference : string}
override m.ToString() = Printf.sprintf "%A" m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment