mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
19 lines
381 B
C#
19 lines
381 B
C#
using Telegram.Bot.Types;
|
|
|
|
namespace Kruzya.TelegramBot.UrlLimitations
|
|
{
|
|
public struct ChatMember
|
|
{
|
|
public long Chat;
|
|
public long User;
|
|
|
|
public static ChatMember From(long chatId, long userId)
|
|
{
|
|
return new ChatMember()
|
|
{
|
|
Chat = chatId,
|
|
User = userId
|
|
};
|
|
}
|
|
}
|
|
} |