Stickers and sticker packs

This commit is contained in:
2024-08-03 15:43:15 +08:00
parent 8070a87078
commit ad1d82a2ff
10 changed files with 390 additions and 37 deletions

View File

@ -1,33 +0,0 @@
syntax = "proto3";
option go_package = ".;proto";
import "google/protobuf/empty.proto";
package proto;
service Attachments {
rpc GetAttachment(AttachmentLookupRequest) returns (Attachment) {}
rpc CheckAttachmentExists(AttachmentLookupRequest) returns (google.protobuf.Empty) {}
}
message Attachment {
uint64 id = 1;
string uuid = 2;
int64 size = 3;
string name = 4;
string alt = 5;
string usage = 6;
string mimetype = 7;
string hash = 8;
string destination = 9;
bytes metadata = 10;
bool is_mature = 11;
uint64 account_id = 12;
}
message AttachmentLookupRequest {
optional uint64 id = 1;
optional string uuid = 2;
optional string usage = 3;
}