public LPConversationViewParams(ConversationParamProtocol conversationQuery, global::UIKit.UIViewController containerViewController, bool isViewOnly, LPConversationHistoryControlParam conversationHistoryControlParam)
     : base(NSObjectFlag.Empty)
 {
     if (conversationQuery == null)
     {
         throw new ArgumentNullException("conversationQuery");
     }
     IsDirectBinding = GetType().Assembly == global::ApiDefinition.Messaging.this_assembly;
     if (IsDirectBinding)
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr_bool_IntPtr(this.Handle, Selector.GetHandle("initWithConversationQuery:containerViewController:isViewOnly:conversationHistoryControlParam:"), conversationQuery.Handle, containerViewController == null ? IntPtr.Zero : containerViewController.Handle, isViewOnly, conversationHistoryControlParam == null ? IntPtr.Zero : conversationHistoryControlParam.Handle), "initWithConversationQuery:containerViewController:isViewOnly:conversationHistoryControlParam:");
     }
     else
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSendSuper_IntPtr_IntPtr_bool_IntPtr(this.SuperHandle, Selector.GetHandle("initWithConversationQuery:containerViewController:isViewOnly:conversationHistoryControlParam:"), conversationQuery.Handle, containerViewController == null ? IntPtr.Zero : containerViewController.Handle, isViewOnly, conversationHistoryControlParam == null ? IntPtr.Zero : conversationHistoryControlParam.Handle), "initWithConversationQuery:containerViewController:isViewOnly:conversationHistoryControlParam:");
     }
 }
        public static void RetrieveHistoryMessagingEventNotificationStateDidChangeWithConversationQuery(this ILPAMSFacadeDelegate This, ConversationParamProtocol conversationQuery, bool isFinished, nint fetchedConversationCount, LPMessageEntity[] fetchedMessages, nint increaseNumberOfPresentedConversationsBy)
        {
            if (conversationQuery == null)
            {
                throw new ArgumentNullException("conversationQuery");
            }
            var nsa_fetchedMessages = fetchedMessages == null ? null : NSArray.FromNSObjects(fetchedMessages);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_bool_nint_IntPtr_nint(This.Handle, Selector.GetHandle("retrieveHistoryMessagingEventNotificationStateDidChangeWithConversationQuery:isFinished:fetchedConversationCount:fetchedMessages:increaseNumberOfPresentedConversationsBy:"), conversationQuery.Handle, isFinished, fetchedConversationCount, nsa_fetchedMessages == null ? IntPtr.Zero : nsa_fetchedMessages.Handle, increaseNumberOfPresentedConversationsBy);
            if (nsa_fetchedMessages != null)
            {
                nsa_fetchedMessages.Dispose();
            }
        }
 public static void RetrieveHistoryEngagementHistoryDidProgressWithConversationQuery(this ILPAMSFacadeDelegate This, ConversationParamProtocol conversationQuery, nint completed, nint total)
 {
     if (conversationQuery == null)
     {
         throw new ArgumentNullException("conversationQuery");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nint_nint(This.Handle, Selector.GetHandle("retrieveHistoryEngagementHistoryDidProgressWithConversationQuery:completed:total:"), conversationQuery.Handle, completed, total);
 }