IssueComment¶
-
class
github.IssueComment.
IssueComment
¶ This class represents IssueComments. The reference can be found here https://docs.github.com/en/rest/reference/issues#comments
-
body
¶ Type: string
-
created_at
¶ Type: datetime.datetime
-
id
¶ Type: integer
-
issue_url
¶ Type: string
-
updated_at
¶ Type: datetime.datetime
-
url
¶ Type: string
-
html_url
¶ Type: string
-
user
¶ Type: github.NamedUser.NamedUser
-
delete
()¶ Calls: DELETE /repos/{owner}/{repo}/issues/comments/{id} Return type: None
-
edit
(body)¶ Calls: PATCH /repos/{owner}/{repo}/issues/comments/{id} Parameters: body – string Return type: None
-
get_reactions
()¶ Calls: GET /repos/{owner}/{repo}/issues/comments/{id}/reactions Returns: class: github.PaginatedList.PaginatedList
ofgithub.Reaction.Reaction
-
create_reaction
(reaction_type)¶ Calls: POST /repos/{owner}/{repo}/issues/comments/{id}/reactions Parameters: reaction_type – string Return type: github.Reaction.Reaction
-
delete_reaction
(reaction_id)¶ Calls: DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id} Parameters: reaction_id – integer Return type: bool
-