Update updates a discussion. The returned discussion may be non-nil even when err is non-nil, indicating a secondary mutation failure (e.g., labels).
(repo ghrepo.Interface, input UpdateDiscussionInput)
| 43 | // Update updates a discussion. The returned discussion may be non-nil even |
| 44 | // when err is non-nil, indicating a secondary mutation failure (e.g., labels). |
| 45 | Update(repo ghrepo.Interface, input UpdateDiscussionInput) (*Discussion, error) |
| 46 | // AddComment adds a comment or reply to a discussion. If replyToID is |
| 47 | // non-empty, the comment is created as a reply to that comment. |
| 48 | AddComment(repo ghrepo.Interface, discussionID, body, replyToID string) (*DiscussionComment, error) |
no outgoing calls