Documentation
¶
Index ¶
- type SyncCore
- func (c *SyncCore) SyncBroadcastUpdates(in *sync.TLSyncBroadcastUpdates) (*mtproto.Void, error)
- func (c *SyncCore) SyncPushBotUpdates(in *sync.TLSyncPushBotUpdates) (*mtproto.Void, error)
- func (c *SyncCore) SyncPushRpcResult(in *sync.TLSyncPushRpcResult) (*mtproto.Void, error)
- func (c *SyncCore) SyncPushUpdates(in *sync.TLSyncPushUpdates) (*mtproto.Void, error)
- func (c *SyncCore) SyncPushUpdatesIfNot(in *sync.TLSyncPushUpdatesIfNot) (*mtproto.Void, error)
- func (c *SyncCore) SyncUpdatesMe(in *sync.TLSyncUpdatesMe) (*mtproto.Void, error)
- func (c *SyncCore) SyncUpdatesNotMe(in *sync.TLSyncUpdatesNotMe) (*mtproto.Void, error)
- type SyncType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncCore ¶
type SyncCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func (*SyncCore) SyncBroadcastUpdates ¶
SyncBroadcastUpdates sync.broadcastUpdates broadcast_type:int chat_id:long exclude_id_list:Vector<long> updates:Updates = Void;
func (*SyncCore) SyncPushBotUpdates ¶
SyncPushBotUpdates sync.pushBotUpdates user_id:long updates:Updates = Void;
func (*SyncCore) SyncPushRpcResult ¶
SyncPushRpcResult sync.pushRpcResult server_id:long auth_key_id:long req_msg_id:long result:bytes = PushUpdates;
func (*SyncCore) SyncPushUpdates ¶
SyncPushUpdates sync.pushUpdates user_id:long updates:Updates = Void;
func (*SyncCore) SyncPushUpdatesIfNot ¶
SyncPushUpdatesIfNot sync.pushUpdatesIfNot user_id:long excludes:Vector<int64> updates:Updates = Void;
func (*SyncCore) SyncUpdatesMe ¶
SyncUpdatesMe sync.updatesMe flags:# user_id:long auth_key_id:long server_id:string session_id:flags.0?long updates:Updates = Void;
func (*SyncCore) SyncUpdatesNotMe ¶
SyncUpdatesNotMe sync.updatesNotMe user_id:long auth_key_id:long updates:Updates = Void;