IRPCConversationOperations.AddOrUpdateConversation

View as Markdown

Vault API / standard write session

Creates a conversation, or renames an existing one of the caller.

ServiceConversations MFiles.IRPCConversationOperations
gRPC method/MFiles.IRPCConversationOperations/AddOrUpdateConversation
HTTP (mf-http-grpc)POST /grpc/v1/add-or-update-conversation
RequestAddOrUpdateConversationRequest
ResponseAddOrUpdateConversationResponse
Book and levelVault API, standard
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: AddOrUpdateConversationRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
conversationConversationThe conversation. Set title and, for a new one, type; set id to rename an existing one.
conversation.iduint32The ID of the conversation, assigned by the server.
conversation.user_iduint32The ID of the user account that owns the conversation. Set by the server.
conversation.typeConversationTypeThe kind of conversation. Set when the conversation is created.Values: CONVERSATION_TYPE_UNDEFINED (0), CONVERSATION_TYPE_AINO (1).
conversation.titlestringThe title of the conversation, as plain text.
conversation.sort_keyuint32Orders conversations; newer conversations have larger values. Used for paging.
conversation.createdgoogle.protobuf.TimestampWhen the conversation was created (UTC).
conversation.modifiedgoogle.protobuf.TimestampWhen the conversation was created or last renamed (UTC).

Response: AddOrUpdateConversationResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
updated_conversationConversationThe conversation as stored.
updated_conversation.iduint32The ID of the conversation, assigned by the server.
updated_conversation.user_iduint32The ID of the user account that owns the conversation. Set by the server.
updated_conversation.typeConversationTypeThe kind of conversation. Set when the conversation is created.Values: CONVERSATION_TYPE_UNDEFINED (0), CONVERSATION_TYPE_AINO (1).
updated_conversation.titlestringThe title of the conversation, as plain text.
updated_conversation.sort_keyuint32Orders conversations; newer conversations have larger values. Used for paging.
updated_conversation.createdgoogle.protobuf.TimestampWhen the conversation was created (UTC).
updated_conversation.modifiedgoogle.protobuf.TimestampWhen the conversation was created or last renamed (UTC).