// Token: 0x06000B8F RID: 2959 RVA: 0x0002CBB8 File Offset: 0x0002ADB8
        internal static void GenerateMessageNotDeliveredPayload(InstantMessageNotifier notifier, string methodName, int conversationId, Exception exception)
        {
            string arg = string.Empty;

            if (exception != null && exception.Message != null)
            {
                arg = exception.Message;
            }
            ExTraceGlobals.InstantMessagingTracer.TraceError <string, string>(0L, "{0} failed. {1}", methodName, arg);
            UserActivityType          alertType = UserActivityType.FailedDelivery;
            InstantMessagingException ex        = exception as InstantMessagingException;

            if (ex != null && ex.SubCode == 504)
            {
                alertType = UserActivityType.DeliveryTimeout;
            }
            InstantMessagePayloadUtilities.GenerateInstantMessageAlertPayload(notifier, conversationId, alertType);
        }
 // Token: 0x06000B91 RID: 2961 RVA: 0x0002CC32 File Offset: 0x0002AE32
 internal static void GenerateInstantMessageAlertPayload(InstantMessageNotifier notifier, int chatId, UserActivityType alertType)
 {
     InstantMessagePayloadUtilities.GenerateInstantMessageAlertPayload(notifier, chatId, alertType, null);
 }
 // Token: 0x06000B90 RID: 2960 RVA: 0x0002CC15 File Offset: 0x0002AE15
 internal static void GenerateMessageNotDeliveredPayload(InstantMessageNotifier notifier, string methodName, int chatId, UserActivityType alertType)
 {
     ExTraceGlobals.InstantMessagingTracer.TraceError <string, UserActivityType>(0L, "{0} failed. {1}", methodName, alertType);
     InstantMessagePayloadUtilities.GenerateInstantMessageAlertPayload(notifier, chatId, alertType);
 }