Ejemplo n.º 1
0
        /// <summary>
        /// Get a list of updates posted in this thread.
        /// </summary>
        /// <param name="liveThreadsGetUpdatesInput">A valid LiveThreadsGetUpdatesInput instance</param>
        /// <returns>The requested live updates.</returns>
        public List <LiveUpdate> GetUpdates(LiveThreadsGetUpdatesInput liveThreadsGetUpdatesInput)
        {
            Updates            = Lists.GetLiveUpdates(Validate(Dispatch.LiveThreads.GetUpdates(Id, liveThreadsGetUpdatesInput)));
            UpdatesLastUpdated = DateTime.Now;

            return(Updates);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Get a list of updates posted in this thread.
 /// See also: /api/live/thread/update.
 /// This endpoint is a listing.
 /// </summary>
 /// <param name="thread">id</param>
 /// <param name="liveThreadsGetUpdatesInput">A valid LiveThreadsGetUpdatesInput instance</param>
 /// <returns>The requested live updates.</returns>
 public LiveUpdateContainer GetUpdates(string thread, LiveThreadsGetUpdatesInput liveThreadsGetUpdatesInput)
 {
     return(SendRequest <LiveUpdateContainer>("live/" + thread, liveThreadsGetUpdatesInput));
 }