public static List <Users.User> get_message_receivers(Guid applicationId, Guid messageId, int?count = null, int?lastId = null) { List <Guid> mIds = new List <Guid>(); mIds.Add(messageId); List <Users.User> users = new List <Users.User>(); Message msg = MSGController._get_message_receivers(applicationId, mIds, count, lastId).FirstOrDefault(); return(msg == null ? users : msg.ReceiverUsers); }
public static List <Message> get_message_receivers(Guid applicationId, List <Guid> messageIds, int?count = null) { return(MSGController._get_message_receivers(applicationId, messageIds, count)); }