{"action":"created","comment":{"url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/comments/167423643","pull_request_review_id":95644820,"id":167423643,"diff_hunk":"@@ -39,31 +40,31 @@ public interface IMessagesApiService\n         /// </param>\n         /// <param name=\"justClear\">Delete as non-recoverable or just clear the history</param>\n         /// <returns>Returns a <see cref=\"IAffectedHistory\" /> object containing a affected history</returns>\n-        Task<IAffectedHistory> DeleteHistoryAsync(IInputPeer peer, int maxId, bool justClear);\n+        Task<IAffectedHistory> DeleteHistoryAsync(IInputPeer peer, int maxId, bool justClear, CancellationToken cancellationToken = default(CancellationToken));\n \n         /// <summary>Deletes messages by their IDs.</summary>\n         /// <param name=\"ids\">Identifiers of messages</param>\n         /// <param name=\"revoke\">Delete messages for everyone</param>\n         /// <returns>Returns a <see cref=\"IAffectedMessages\" /> object containing a affected messages</returns>\n-        Task<IAffectedMessages> DeleteMessagesAsync(TVector<int> ids, bool revoke);\n+        Task<IAffectedMessages> DeleteMessagesAsync(TVector<int> ids, bool revoke, CancellationToken cancellationToken = default(CancellationToken));\n \n         /// <summary>Changes chat photo and sends a service message on it.</summary>\n         /// <param name=\"chatId\">Chat's identifier</param>\n         /// <param name=\"photo\">Photo to be set</param>\n         /// <returns>Returns a <see cref=\"IUpdates\" /> object containing a service message sent during an action.</returns>\n-        Task<IUpdates> EditChatPhoto(int chatId, IInputChatPhoto photo);\n+        Task<IUpdates> EditChatPhoto(int chatId, IInputChatPhoto photo, CancellationToken cancellationToken = default(CancellationToken));","path":"src/TelegramClient.Core/ApiServies/Interfaces/IMessagesApiService.cs","position":49,"original_position":49,"commit_id":"f23dff3f304d34685ce46692a8e69394a9eff582","original_commit_id":"f23dff3f304d34685ce46692a8e69394a9eff582","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Use the overloading mechanism instead of the optional parameters.](https://app.codacy.com/app/OpenTl/TelegramClient/pullRequest?prid=1324144)","created_at":"2018-02-11T07:29:51Z","updated_at":"2018-02-11T07:29:52Z","html_url":"https://github.com/vik-borisov/TelegramClient/pull/57#discussion_r167423643","pull_request_url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/comments/167423643"},"html":{"href":"https://github.com/vik-borisov/TelegramClient/pull/57#discussion_r167423643"},"pull_request":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57","id":168440442,"html_url":"https://github.com/vik-borisov/TelegramClient/pull/57","diff_url":"https://github.com/vik-borisov/TelegramClient/pull/57.diff","patch_url":"https://github.com/vik-borisov/TelegramClient/pull/57.patch","issue_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/57","number":57,"state":"open","locked":false,"title":" resolved #30.  Removed ConfirmationRecieveService","user":{"login":"vik-borisov","id":4207463,"avatar_url":"https://avatars3.githubusercontent.com/u/4207463?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-borisov","html_url":"https://github.com/vik-borisov","followers_url":"https://api.github.com/users/vik-borisov/followers","following_url":"https://api.github.com/users/vik-borisov/following{/other_user}","gists_url":"https://api.github.com/users/vik-borisov/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-borisov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-borisov/subscriptions","organizations_url":"https://api.github.com/users/vik-borisov/orgs","repos_url":"https://api.github.com/users/vik-borisov/repos","events_url":"https://api.github.com/users/vik-borisov/events{/privacy}","received_events_url":"https://api.github.com/users/vik-borisov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-11T07:14:47Z","updated_at":"2018-02-11T07:29:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de0e73d1a7ef1009b07f6b7645a1d6abf0188ddb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57/commits","review_comments_url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57/comments","review_comment_url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/57/comments","statuses_url":"https://api.github.com/repos/vik-borisov/TelegramClient/statuses/f23dff3f304d34685ce46692a8e69394a9eff582","head":{"label":"vik-borisov:feature/tcp-refactoring","ref":"feature/tcp-refactoring","sha":"f23dff3f304d34685ce46692a8e69394a9eff582","user":{"login":"vik-borisov","id":4207463,"avatar_url":"https://avatars3.githubusercontent.com/u/4207463?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-borisov","html_url":"https://github.com/vik-borisov","followers_url":"https://api.github.com/users/vik-borisov/followers","following_url":"https://api.github.com/users/vik-borisov/following{/other_user}","gists_url":"https://api.github.com/users/vik-borisov/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-borisov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-borisov/subscriptions","organizations_url":"https://api.github.com/users/vik-borisov/orgs","repos_url":"https://api.github.com/users/vik-borisov/repos","events_url":"https://api.github.com/users/vik-borisov/events{/privacy}","received_events_url":"https://api.github.com/users/vik-borisov/received_events","type":"User","site_admin":false},"repo":{"id":88322214,"name":"TelegramClient","full_name":"vik-borisov/TelegramClient","owner":{"login":"vik-borisov","id":4207463,"avatar_url":"https://avatars3.githubusercontent.com/u/4207463?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-borisov","html_url":"https://github.com/vik-borisov","followers_url":"https://api.github.com/users/vik-borisov/followers","following_url":"https://api.github.com/users/vik-borisov/following{/other_user}","gists_url":"https://api.github.com/users/vik-borisov/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-borisov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-borisov/subscriptions","organizations_url":"https://api.github.com/users/vik-borisov/orgs","repos_url":"https://api.github.com/users/vik-borisov/repos","events_url":"https://api.github.com/users/vik-borisov/events{/privacy}","received_events_url":"https://api.github.com/users/vik-borisov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vik-borisov/TelegramClient","description":"Telegram client library implemented in C# ","fork":false,"url":"https://api.github.com/repos/vik-borisov/TelegramClient","forks_url":"https://api.github.com/repos/vik-borisov/TelegramClient/forks","keys_url":"https://api.github.com/repos/vik-borisov/TelegramClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vik-borisov/TelegramClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vik-borisov/TelegramClient/teams","hooks_url":"https://api.github.com/repos/vik-borisov/TelegramClient/hooks","issue_events_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/events{/number}","events_url":"https://api.github.com/repos/vik-borisov/TelegramClient/events","assignees_url":"https://api.github.com/repos/vik-borisov/TelegramClient/assignees{/user}","branches_url":"https://api.github.com/repos/vik-borisov/TelegramClient/branches{/branch}","tags_url":"https://api.github.com/repos/vik-borisov/TelegramClient/tags","blobs_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vik-borisov/TelegramClient/statuses/{sha}","languages_url":"https://api.github.com/repos/vik-borisov/TelegramClient/languages","stargazers_url":"https://api.github.com/repos/vik-borisov/TelegramClient/stargazers","contributors_url":"https://api.github.com/repos/vik-borisov/TelegramClient/contributors","subscribers_url":"https://api.github.com/repos/vik-borisov/TelegramClient/subscribers","subscription_url":"https://api.github.com/repos/vik-borisov/TelegramClient/subscription","commits_url":"https://api.github.com/repos/vik-borisov/TelegramClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/vik-borisov/TelegramClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/vik-borisov/TelegramClient/contents/{+path}","compare_url":"https://api.github.com/repos/vik-borisov/TelegramClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vik-borisov/TelegramClient/merges","archive_url":"https://api.github.com/repos/vik-borisov/TelegramClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vik-borisov/TelegramClient/downloads","issues_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues{/number}","pulls_url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls{/number}","milestones_url":"https://api.github.com/repos/vik-borisov/TelegramClient/milestones{/number}","notifications_url":"https://api.github.com/repos/vik-borisov/TelegramClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vik-borisov/TelegramClient/labels{/name}","releases_url":"https://api.github.com/repos/vik-borisov/TelegramClient/releases{/id}","deployments_url":"https://api.github.com/repos/vik-borisov/TelegramClient/deployments","created_at":"2017-04-15T03:51:26Z","updated_at":"2018-02-09T17:26:05Z","pushed_at":"2018-02-11T07:26:18Z","git_url":"git://github.com/vik-borisov/TelegramClient.git","ssh_url":"git@github.com:vik-borisov/TelegramClient.git","clone_url":"https://github.com/vik-borisov/TelegramClient.git","svn_url":"https://github.com/vik-borisov/TelegramClient","homepage":"","size":1376,"stargazers_count":21,"watchers_count":21,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":12,"open_issues":9,"watchers":21,"default_branch":"master"}},"base":{"label":"vik-borisov:master","ref":"master","sha":"9a79354efb285db0c6c0cd8e2206bc2a4fed5fd3","user":{"login":"vik-borisov","id":4207463,"avatar_url":"https://avatars3.githubusercontent.com/u/4207463?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-borisov","html_url":"https://github.com/vik-borisov","followers_url":"https://api.github.com/users/vik-borisov/followers","following_url":"https://api.github.com/users/vik-borisov/following{/other_user}","gists_url":"https://api.github.com/users/vik-borisov/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-borisov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-borisov/subscriptions","organizations_url":"https://api.github.com/users/vik-borisov/orgs","repos_url":"https://api.github.com/users/vik-borisov/repos","events_url":"https://api.github.com/users/vik-borisov/events{/privacy}","received_events_url":"https://api.github.com/users/vik-borisov/received_events","type":"User","site_admin":false},"repo":{"id":88322214,"name":"TelegramClient","full_name":"vik-borisov/TelegramClient","owner":{"login":"vik-borisov","id":4207463,"avatar_url":"https://avatars3.githubusercontent.com/u/4207463?v=4","gravatar_id":"","url":"https://api.github.com/users/vik-borisov","html_url":"https://github.com/vik-borisov","followers_url":"https://api.github.com/users/vik-borisov/followers","following_url":"https://api.github.com/users/vik-borisov/following{/other_user}","gists_url":"https://api.github.com/users/vik-borisov/gists{/gist_id}","starred_url":"https://api.github.com/users/vik-borisov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vik-borisov/subscriptions","organizations_url":"https://api.github.com/users/vik-borisov/orgs","repos_url":"https://api.github.com/users/vik-borisov/repos","events_url":"https://api.github.com/users/vik-borisov/events{/privacy}","received_events_url":"https://api.github.com/users/vik-borisov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vik-borisov/TelegramClient","description":"Telegram client library implemented in C# ","fork":false,"url":"https://api.github.com/repos/vik-borisov/TelegramClient","forks_url":"https://api.github.com/repos/vik-borisov/TelegramClient/forks","keys_url":"https://api.github.com/repos/vik-borisov/TelegramClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vik-borisov/TelegramClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vik-borisov/TelegramClient/teams","hooks_url":"https://api.github.com/repos/vik-borisov/TelegramClient/hooks","issue_events_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/events{/number}","events_url":"https://api.github.com/repos/vik-borisov/TelegramClient/events","assignees_url":"https://api.github.com/repos/vik-borisov/TelegramClient/assignees{/user}","branches_url":"https://api.github.com/repos/vik-borisov/TelegramClient/branches{/branch}","tags_url":"https://api.github.com/repos/vik-borisov/TelegramClient/tags","blobs_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vik-borisov/TelegramClient/statuses/{sha}","languages_url":"https://api.github.com/repos/vik-borisov/TelegramClient/languages","stargazers_url":"https://api.github.com/repos/vik-borisov/TelegramClient/stargazers","contributors_url":"https://api.github.com/repos/vik-borisov/TelegramClient/contributors","subscribers_url":"https://api.github.com/repos/vik-borisov/TelegramClient/subscribers","subscription_url":"https://api.github.com/repos/vik-borisov/TelegramClient/subscription","commits_url":"https://api.github.com/repos/vik-borisov/TelegramClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/vik-borisov/TelegramClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/vik-borisov/TelegramClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/vik-borisov/TelegramClient/contents/{+path}","compare_url":"https://api.github.com/repos/vik-borisov/TelegramClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vik-borisov/TelegramClient/merges","archive_url":"https://api.github.com/repos/vik-borisov/TelegramClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vik-borisov/TelegramClient/downloads","issues_url":"https://api.github.com/repos/vik-borisov/TelegramClient/issues{/number}","pulls_url":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls{/number}","milestones_url":"https://api.github.com/repos/vik-borisov/TelegramClient/milestones{/number}","notifications_url":"https://api.github.com/repos/vik-borisov/TelegramClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vik-borisov/TelegramClient/labels{/name}","releases_url":"https://api.github.com/repos/vik-borisov/TelegramClient/releases{/id}","deployments_url":"https://api.github.com/repos/vik-borisov/TelegramClient/deployments","created_at":"2017-04-15T03:51:26Z","updated_at":"2018-02-09T17:26:05Z","pushed_at":"2018-02-11T07:26:18Z","git_url":"git://github.com/vik-borisov/TelegramClient.git","ssh_url":"git@github.com:vik-borisov/TelegramClient.git","clone_url":"https://github.com/vik-borisov/TelegramClient.git","svn_url":"https://github.com/vik-borisov/TelegramClient","homepage":"","size":1376,"stargazers_count":21,"watchers_count":21,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":12,"open_issues":9,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57"},"html":{"href":"https://github.com/vik-borisov/TelegramClient/pull/57"},"issue":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/57"},"comments":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/vik-borisov/TelegramClient/statuses/f23dff3f304d34685ce46692a8e69394a9eff582"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}