Пример #1
0
 /// <summary>
 ///     Creates a new conversation with a list of users. Once a conversation is started, the participants cannot (yet) be
 ///     changed.
 ///     <para>Podio API Reference: https://developers.podio.com/doc/conversations/create-conversation-v2-37301474 </para>
 /// </summary>
 /// <param name="conversationCreateRequest"></param>
 /// <returns></returns>
 public async Task<Conversation> CreateConversation(ConversationCreateRequest conversationCreateRequest)
 {
     string url = "/conversation/v2/";
     return await _podio.Post<Conversation>(url, conversationCreateRequest);
 }
Пример #2
0
 /// <summary>
 ///     Creates a new conversation on the given object. Works similarly to the create notification method in other regards.
 ///     <para>Podio API Reference: https://developers.podio.com/doc/conversations/create-conversation-on-object-22442 </para>
 /// </summary>
 /// <param name="refType"></param>
 /// <param name="refId"></param>
 /// <param name="conversationCreateRequest"></param>
 /// <returns></returns>
 public async Task<Conversation> CreateConversationOnObject(string refType, int refId,
     ConversationCreateRequest conversationCreateRequest)
 {
     string url = string.Format("/conversation/{0}/{1}/", refType, refId);
     return await _podio.Post<Conversation>(url, conversationCreateRequest);
 }
Пример #3
0
 /// <summary>
 /// Creates a new conversation with a list of users. Once a conversation is started, the participants cannot (yet) be changed.
 /// <para>Podio API Reference: https://developers.podio.com/doc/conversations/create-conversation-v2-37301474 </para>
 /// </summary>
 /// <param name="conversationCreateRequest"></param>
 /// <returns></returns>
 public Conversation CreateConversation(ConversationCreateRequest conversationCreateRequest)
 {
     string url = "/conversation/v2/";
     return _podio.Post<Conversation>(url, conversationCreateRequest);
 }