Official cwtch.im peer and server implementations.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
238B

  1. package model
  2. import (
  3. "time"
  4. )
  5. // Message is a local representation of a given message sent over a group chat channel.
  6. type Message struct {
  7. Timestamp time.Time
  8. PeerID string
  9. Message string
  10. Signature []byte
  11. Verified bool
  12. }