Exemplo n.º 1
0
        public void TestSendPaymentChat()
        {
            var paymentChatMap = new Dictionary <string, object>();
            var chatId         = PaymentChat.Create(API_CONTEXT, paymentChatMap, USER_ID, MONETARTY_ACCOUNT_ID,
                                                    CreatePaymentAndGetId()).Value;

            var chatMessageMap = new Dictionary <string, object>
            {
                { ChatMessageText.FIELD_TEXT, MESSAGE_TEXT }
            };

            ChatMessageText.Create(API_CONTEXT, chatMessageMap, USER_ID, chatId);
        }
Exemplo n.º 2
0
        public void TestSendPaymentChat()
        {
            var chatId = PaymentChat.Create(CreatePaymentAndGetId()).Value;

            ChatMessageText.Create(chatId, MESSAGE_TEXT);
        }