-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.cs
More file actions
26 lines (23 loc) · 1.05 KB
/
Constants.cs
File metadata and controls
26 lines (23 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
namespace HappyNotes.Common;
public static class Constants
{
public const int ShortNotesMaxLength = 1024;
public const int PublicNotesMaxPage = 5;
public const int MaxPageSize = 60;
public const int TelegramMessageLength = 4096;
public const int MastodonTootLength = 500;
public const int FanfouStatusLength = 140;
public const int TelegramCaptionLength = 1024;
public const string TelegramSameTokenFlag = "the same token as the last setting";
public const string MastodonAppName = "HappyNotes";
public const string HappyNotesWebsite = "https://happynotes.shukebeta.com";
// Sync service names
public const string TelegramService = "telegram";
public const string MastodonService = "mastodon";
public const string ManticoreSearchService = "manticoresearch";
public const string FanfouService = "fanfou";
/// <summary>
/// All available sync services
/// </summary>
public static readonly string[] AllSyncServices = { TelegramService, MastodonService, ManticoreSearchService, FanfouService };
}