24 lines
575 B
C#
24 lines
575 B
C#
|
|
namespace Sozsoft.Sender.Telegram;
|
||
|
|
|
||
|
|
public class TelegramSendResultDto
|
||
|
|
{
|
||
|
|
public bool ok { get; set; }
|
||
|
|
public int? error_code { get; set; }
|
||
|
|
public string description { get; set; }
|
||
|
|
public Message result { get; set; }
|
||
|
|
|
||
|
|
public class Message
|
||
|
|
{
|
||
|
|
public long message_id { get; set; }
|
||
|
|
public int date { get; set; }
|
||
|
|
public Chat chat { get; set; }
|
||
|
|
|
||
|
|
public class Chat
|
||
|
|
{
|
||
|
|
public long id { get; set; }
|
||
|
|
public string type { get; set; }
|
||
|
|
public string username { get; set; }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|