예제 #1
0
 public MemberJoinEvent(WebhookEventSource source, long timestamp, string replyToken, IList <WebhookEventSource> members)
     : base(WebhookEventType.MemberJoined, source, timestamp, replyToken)
 {
     Joined = new Moved(members);
 }
예제 #2
0
 public WebhookEvent(WebhookEventType type, WebhookEventSource source, long timestamp)
 {
     Type      = type;
     Source    = source;
     Timestamp = timestamp;
 }
예제 #3
0
 public MemberLeaveEvent(WebhookEventSource source, long timestamp, IList <WebhookEventSource> members)
     : base(WebhookEventType.MemberLeft, source, timestamp)
 {
     Left = new Moved(members);
 }