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

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

            NewMessageEvent(message);
        }