Hi, I wanted to use write_comment_opt() but couldn't find a way to construct CommentOptions as all the fields are private. I assumed this was an oversight (?) and went ahead and added pub to all the fields. Additionally, I added a Default implementation that matches what one would get using just write_comment().
Hi, I wanted to use
write_comment_opt()
but couldn't find a way to constructCommentOptions
as all the fields are private. I assumed this was an oversight (?) and went ahead and addedpub
to all the fields. Additionally, I added aDefault
implementation that matches what one would get using justwrite_comment()
.