Documentation ¶
Index ¶
- type MessageDeDuplicate
- func (m *MessageDeDuplicate) GetDuplicateMessage(ctx context.Context, senderUserId, clientRandomId int64) (*mtproto.Updates, error)
- func (m *MessageDeDuplicate) HasDuplicateMessage(ctx context.Context, senderUserId, deDuplicateId int64) (bool, error)
- func (m *MessageDeDuplicate) PutDuplicateMessage(ctx context.Context, senderUserId, deDuplicateId int64, upd *mtproto.Updates) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageDeDuplicate ¶
type MessageDeDuplicate struct {
// contains filtered or unexported fields
}
func NewMessageDeDuplicate ¶
func NewMessageDeDuplicate(kv kv.Store) MessageDeDuplicate
func (*MessageDeDuplicate) GetDuplicateMessage ¶
func (*MessageDeDuplicate) HasDuplicateMessage ¶
func (*MessageDeDuplicate) PutDuplicateMessage ¶
Click to show internal directories.
Click to hide internal directories.