Beispiel #1
0
        private void ProcessUpdate(UpdateShortMessageConstructor update)
        {
            logger.info("processing short message: {0}", update);
            if (!processUpdatePtsSeqDate(update.pts, update.seq, update.date))
            {
                return;
            }

            Message message = TL.message(update.id, update.from_id, session.SelfPeer, false, true, update.date, update.message, TL.messageMediaEmpty());

            NewMessageEvent(message);
        }
        private void ProcessUpdate(UpdateShortMessageConstructor update) {
            logger.info("processing short message: {0}", update);
            if(!processUpdatePtsSeqDate(update.pts, update.seq, update.date)) {
                return;
            }

            Message message = TL.message(update.id, update.from_id, session.SelfPeer, false, true, update.date, update.message, TL.messageMediaEmpty());
            NewMessageEvent(message);
        }