Files

29 lines
1.3 KiB
C#
Raw Permalink Normal View History

2019-04-02 13:43:30 +02:00
using System.Collections.Generic;
namespace ChatController.Utilities
{
public static class Constants
{
public static readonly List<string> ImageFileExtensions = new List<string> { ".JPG", ".JPE", ".BMP", ".GIF", ".PNG", ".JPEG" };
public static readonly string ImagePlaceholderPath = "pack://application:,,,/ChatController;component/Ressourcen/ownchat_image_placeholder.png";
2019-04-02 13:43:30 +02:00
public static readonly string Token = "Token";
public static readonly string CustomerId = "CustomerID";
public static readonly string MaxUploadFileSizeUrl = "/api/ownchat/uploadmaxsize";
public static readonly string LoginWithChatCodeUrl = "/api/user/loginwithchatcode";
public static readonly string GetChatGroupsUrl = "/api/chat/groups";
public static readonly string LoadMessagesForGroupUrl = "/api/chat/messages?groupid=";
public static readonly string LoadOwnChatNewsUrl = "/api/ownchat/news/";
public static readonly string SendMessageUrl = "/api/chat/messages/send";
2019-04-02 13:43:30 +02:00
2019-04-04 13:00:10 +02:00
public static readonly int NotificationTimeout = 1500;
public static readonly string ContentTypeKey = "content-type";
public static readonly string FormUrlEncodedContentTypeValue = "application/x-www-form-urlencoded";
public static readonly string TenantAndChatCodeFileName = "ownChat.txt";
2019-04-02 13:43:30 +02:00
}
}