Get the Github issue comment with id.

Returns null if the comment cannot be found.

var api = new GithubAPI(get_github_oauth)
var repo = api.get_repo("nitlang/nit")
assert repo != null
var comment = api.get_issue_comment(repo, 6020149)
assert comment.user.login == "privat"
assert comment.created_at.to_s == "2012-05-30T20:16:54Z"
assert comment.issue_number == 10

Property definitions

github $ GithubAPI :: get_issue_comment
	# Get the Github issue comment with `id`.
	#
	# Returns `null` if the comment cannot be found.
	#
	# ~~~nitish
	# var api = new GithubAPI(get_github_oauth)
	# var repo = api.get_repo("nitlang/nit")
	# assert repo != null
	# var comment = api.get_issue_comment(repo, 6020149)
	# assert comment.user.login == "privat"
	# assert comment.created_at.to_s == "2012-05-30T20:16:54Z"
	# assert comment.issue_number == 10
	# ~~~
	fun get_issue_comment(repo_slug: String, id: Int): nullable IssueComment do
		return get("/repos/{repo_slug}/issues/comments/{id}").as(nullable IssueComment)
	end
lib/github/api.nit:433,2--448,4