Exemple #1
0
        internal static FB_MessageEvent _parse(Session session, JToken data)
        {
            (FB_User author, FB_Thread thread, long at) = FB_MessageEvent._parse_metadata(session, data);
            var message = FB_Message._from_pull(data, thread: thread, author: author.uid, timestamp: at.ToString());

            return(new FB_MessageEvent()
            {
                author = author,
                thread = thread,
                message = message,
                at = at
            });
        }