internal static List <PinnedMessageData> Create(ulong channelId, [CanBeNull] Client client) { // get message and channel ServerTextChannel c = ServerTextChannel.Get(channelId, client); PinnedMessageData d = c.GetPinnedMessages(client); return(d.Split()); }
internal PinEventArgs(PinnedMessageData data) { Data = data; }