-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vknet#1500 Implement calls.start method
- Loading branch information
Showing
8 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"response": { | ||
"join_link": "https://vk.com/call/join/7BIRLBXzMD74J_JGR3G5wNZbZCkAT_ZtNFzJbHhIkMk", | ||
"ok_join_link": "7BIRLBXzMD74J_JGR3G5wNZbZCkAT_ZtNFzJbHhIkMk", | ||
"call_id": "10c5386e-10cb-43c6-999a-d01a37ee71e0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
|
||
namespace VkNet.Model; | ||
|
||
/// <summary> | ||
/// Результат создания нового звонка | ||
/// </summary> | ||
[Serializable] | ||
public class CallStartResult | ||
{ | ||
/// <summary> | ||
/// Ссылка на звонок | ||
/// </summary> | ||
[JsonProperty("join_link")] | ||
public string JoinLink { get; set; } | ||
|
||
/// <summary> | ||
/// Ссылка на звонок (Ok) | ||
/// </summary> | ||
[JsonProperty("ok_join_link")] | ||
public string OkJoinLink { get; set; } | ||
|
||
/// <summary> | ||
/// Идентификатор созданного звонка | ||
/// </summary> | ||
[JsonProperty("call_id")] | ||
public string CallId { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace VkNet.Model; | ||
/// <summary> | ||
/// Список параметров для метода calls.start | ||
/// </summary> | ||
[Serializable] | ||
public class CallsStartParams | ||
{ | ||
/// <summary> | ||
/// Идентификатор сообщества | ||
/// </summary> | ||
public int? GroupId { get; set; } | ||
} |