- added a constants file, for have constants to work with - catching maximum message length
18 lines
410 B
C#
18 lines
410 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TelegramBotBase.Constants
|
|
{
|
|
public static class Telegram
|
|
{
|
|
/// <summary>
|
|
/// The maximum length of message text before the API throws an exception. (We will catch it before)
|
|
/// </summary>
|
|
public const int MaxMessageLength = 4096;
|
|
|
|
}
|
|
}
|