syntax = "proto3";

package devvit.plugin.useractions;

import "devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto";

option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/useractions";
option java_package = "com.reddit.devvit.plugin.useractions";

// Service for performing actions on behalf of the User.
service UserActions {
  // Submit a new Comment on behalf of the User
  rpc Comment(devvit.plugin.redditapi.linksandcomments.CommentRequest) returns (devvit.plugin.redditapi.linksandcomments.JsonWrappedComment);
  // Create a new Post on behalf of the User
  rpc Submit(devvit.plugin.redditapi.linksandcomments.SubmitRequest) returns (devvit.plugin.redditapi.linksandcomments.SubmitResponse);
  // Create a new custom Post on behalf of the User
  rpc SubmitCustomPost(devvit.plugin.redditapi.linksandcomments.SubmitRequest) returns (devvit.plugin.redditapi.linksandcomments.SubmitResponse);
}
