call.go 599 B

1234567891011121314151617181920212223
  1. // Copyright (c) 2021 Tulir Asokan
  2. //
  3. // This Source Code Form is subject to the terms of the Mozilla Public
  4. // License, v. 2.0. If a copy of the MPL was not distributed with this
  5. // file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. package types
  7. import "time"
  8. type BasicCallMeta struct {
  9. From JID
  10. Timestamp time.Time
  11. CallCreator JID
  12. CallCreatorAlt JID
  13. CallID string
  14. GroupJID JID
  15. }
  16. type CallRemoteMeta struct {
  17. RemotePlatform string // The platform of the caller's WhatsApp client
  18. RemoteVersion string // Version of the caller's WhatsApp client
  19. }