/// <summary> /// Sets the read cursor in a direct message channel. /// <see href="https://api.slack.com/methods/im.mark" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='token'> /// Authentication token. Requires scope: `im:write` /// </param> /// <param name='ts'> /// Timestamp of the most recently seen message. /// </param> /// <param name='channel'> /// Direct message channel to set reading cursor in. /// </param> public static MarkOKResponseModelModel Mark(this IIm operations, string token = default(string), string ts = default(string), string channel = default(string)) { return(operations.MarkAsync(token, ts, channel).GetAwaiter().GetResult()); }