Пример #1
0
 public LeaveEvent(WebhookEventSource source, long timestamp, string mode, string webhookEventId, DeliveryContext deliveryContext)
     : base(WebhookEventType.Leave, source, timestamp, mode, webhookEventId, deliveryContext)
 {
 }
Пример #2
0
 public DeviceUnlinkEvent(WebhookEventSource source, long timestamp, Things things) : base(source, timestamp, things)
 {
 }
Пример #3
0
 public LeaveEvent(WebhookEventSource source, long timestamp, string mode)
     : base(WebhookEventType.Leave, source, timestamp, mode)
 {
 }
Пример #4
0
 public BeaconEvent(WebhookEventSource source, long timestamp, string replyToken, string hwid, BeaconType beaconType, string dm, string mode, string webhookEventId, DeliveryContext deliveryContext)
     : base(WebhookEventType.Beacon, source, timestamp, replyToken, mode, webhookEventId, deliveryContext)
 {
     Beacon = new Beacon(hwid, beaconType, dm);
 }
 public FollowEvent(WebhookEventSource source, long timestamp, string replyToken, string mode, string webhookEventId, DeliveryContext deliveryContext)
     : base(WebhookEventType.Follow, source, timestamp, replyToken, mode, webhookEventId, deliveryContext)
 {
 }
Пример #6
0
 public UnsendEvent(WebhookEventSource source, long timestamp, string mode, Unsend unsend) : base(WebhookEventType.Unsend, source, timestamp, mode)
 {
     Unsend = unsend;
 }
 public static DeviceEvent Create(WebhookEventSource source, long timestamp, Things things)
 {
     return((things.Type == ThingsType.Link)
         ? new DeviceLinkEvent(source, timestamp, things) as DeviceEvent
         : new DeviceUnlinkEvent(source, timestamp, things) as DeviceEvent);
 }
Пример #8
0
 public BeaconEvent(WebhookEventSource source, long timestamp, string replyToken, string hwid, BeaconType beaconType, string dm)
     : base(WebhookEventType.Beacon, source, timestamp, replyToken)
 {
     Beacon = new Beacon(hwid, beaconType, dm);
 }
 public MemberJoinEvent(WebhookEventSource source, long timestamp, string replyToken, IList <WebhookEventSource> members)
     : base(WebhookEventType.MemberJoined, source, timestamp, replyToken)
 {
     Joined = new Moved(members);
 }
Пример #10
0
 public ReplyableEvent(WebhookEventType eventType, WebhookEventSource source, long timestamp, string replyToken, string mode)
     : base(eventType, source, timestamp, mode)
 {
     ReplyToken = replyToken;
 }
Пример #11
0
 public FollowEvent(WebhookEventSource source, long timestamp, string replyToken)
     : base(WebhookEventType.Follow, source, timestamp, replyToken)
 {
 }
Пример #12
0
 public UnsendEvent(WebhookEventSource source, long timestamp, string mode, Unsend unsend, string webhookEventId, DeliveryContext deliveryContext) : base(WebhookEventType.Unsend, source, timestamp, mode, webhookEventId, deliveryContext)
 {
     Unsend = unsend;
 }
 public DeviceUnlinkEvent(WebhookEventSource source, long timestamp, Things things, string mode, string webhookEventId, DeliveryContext deliveryContext) : base(source, timestamp, things, mode, webhookEventId, deliveryContext)
 {
 }
Пример #14
0
 public MessageEvent(WebhookEventSource source, long timestamp, EventMessage message, string replyToken, string mode)
     : base(WebhookEventType.Message, source, timestamp, replyToken, mode)
 {
     Message = message;
 }
 public DeviceEvent(WebhookEventSource source, long timestamp, Things things)
     : base(WebhookEventType.Things, source, timestamp)
 {
     Things = things;
 }
Пример #16
0
 public VideoPlayCompleteEvent(WebhookEventSource source, long timestamp, string mode, string replyToken, VideoPlayComplete videoPlayComplete) : base(WebhookEventType.VideoPlayComplete, source, timestamp, replyToken, mode)
 {
     VideoPlayComplete = videoPlayComplete;
 }
Пример #17
0
 public AccountLinkEvent(WebhookEventSource source, long timestamp, string replyToken, Link link)
     : base(WebhookEventType.AccountLink, source, timestamp, replyToken)
 {
     Link = link;
 }
Пример #18
0
 public UnfollowEvent(WebhookEventSource source, long timestamp)
     : base(WebhookEventType.Unfollow, source, timestamp)
 {
 }
 public PostbackEvent(WebhookEventSource source, long timestamp, string replyToken, Postback postback)
     : base(WebhookEventType.Postback, source, timestamp, replyToken)
 {
     Postback = postback;
 }
Пример #20
0
 public LeaveEvent(WebhookEventSource source, long timestamp)
     : base(WebhookEventType.Leave, source, timestamp)
 {
 }
Пример #21
0
 public JoinEvent(WebhookEventSource source, long timestamp, string replyToken)
     : base(WebhookEventType.Join, source, timestamp, replyToken)
 {
 }