enum Servo::Model::ThreadAutoArchiveDuration

Overview

Duration in minutes to automatically archive the thread after recent activity.

Defined in:

model/channel/thread_auto_archive_duration.cr

Enum Members

OneHour = 60_u32
OneDay = 1440_u32
ThreeDays = 4320_u32
OneWeek = 10080_u32

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def one_day? #

[View source]
def one_hour? #

[View source]
def one_week? #

[View source]
def three_days? #

[View source]