Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.2 KB
Raw Blame
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

syntax = "proto2";
package InstamadilloTransportPayload;
option go_package = "go.mau.fi/whatsmeow/proto/instamadilloTransportPayload";

import "instamadilloAddMessage/InstamadilloAddMessage.proto";
import "instamadilloDeleteMessage/InstamadilloDeleteMessage.proto";
import "instamadilloSupplementMessage/InstamadilloSupplementMessage.proto";

enum PayloadCreator {
	PAYLOAD_CREATOR_UNSPECIFIED = 0;
	PAYLOAD_CREATOR_IGIOS = 1;
	PAYLOAD_CREATOR_IG4A = 2;
	PAYLOAD_CREATOR_WWW = 3;
	PAYLOAD_CREATOR_IGLITE = 4;
}

message TransportPayload {
	oneof transportPayload {
		InstamadilloAddMessage.AddMessagePayload add = 1;
		InstamadilloDeleteMessage.DeleteMessagePayload delete = 2;
		InstamadilloSupplementMessage.SupplementMessagePayload supplement = 3;
	}

	optional Franking franking = 4;
	optional bool openEb = 5;
	optional bool isE2EeAttributed = 6;
	optional PayloadCreator payloadCreator = 7;
}

message Franking {
	optional bytes frankingKey = 1;
	optional int32 frankingVersion = 2;
}