Documentation ¶
Index ¶
- type Service
- func (s *Service) SyncBroadcastUpdates(ctx context.Context, request *sync.TLSyncBroadcastUpdates) (*mtproto.Void, error)
- func (s *Service) SyncPushBotUpdates(ctx context.Context, request *sync.TLSyncPushBotUpdates) (*mtproto.Void, error)
- func (s *Service) SyncPushRpcResult(ctx context.Context, request *sync.TLSyncPushRpcResult) (*mtproto.Void, error)
- func (s *Service) SyncPushUpdates(ctx context.Context, request *sync.TLSyncPushUpdates) (*mtproto.Void, error)
- func (s *Service) SyncPushUpdatesIfNot(ctx context.Context, request *sync.TLSyncPushUpdatesIfNot) (*mtproto.Void, error)
- func (s *Service) SyncUpdatesMe(ctx context.Context, request *sync.TLSyncUpdatesMe) (*mtproto.Void, error)
- func (s *Service) SyncUpdatesNotMe(ctx context.Context, request *sync.TLSyncUpdatesNotMe) (*mtproto.Void, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx *svc.ServiceContext) *Service
func (*Service) SyncBroadcastUpdates ¶
func (s *Service) SyncBroadcastUpdates(ctx context.Context, request *sync.TLSyncBroadcastUpdates) (*mtproto.Void, error)
SyncBroadcastUpdates sync.broadcastUpdates broadcast_type:int chat_id:long exclude_id_list:Vector<long> updates:Updates = Void;
func (*Service) SyncPushBotUpdates ¶
func (s *Service) SyncPushBotUpdates(ctx context.Context, request *sync.TLSyncPushBotUpdates) (*mtproto.Void, error)
SyncPushBotUpdates sync.pushBotUpdates user_id:long updates:Updates = Void;
func (*Service) SyncPushRpcResult ¶
func (s *Service) SyncPushRpcResult(ctx context.Context, request *sync.TLSyncPushRpcResult) (*mtproto.Void, error)
SyncPushRpcResult sync.pushRpcResult auth_key_id:long server_id:string session_id:long client_req_msg_id:long rpc_result:bytes = Void;
func (*Service) SyncPushUpdates ¶
func (s *Service) SyncPushUpdates(ctx context.Context, request *sync.TLSyncPushUpdates) (*mtproto.Void, error)
SyncPushUpdates sync.pushUpdates user_id:long updates:Updates = Void;
func (*Service) SyncPushUpdatesIfNot ¶
func (s *Service) SyncPushUpdatesIfNot(ctx context.Context, request *sync.TLSyncPushUpdatesIfNot) (*mtproto.Void, error)
SyncPushUpdatesIfNot sync.pushUpdatesIfNot user_id:long excludes:Vector<long> updates:Updates = Void;
func (*Service) SyncUpdatesMe ¶
func (s *Service) SyncUpdatesMe(ctx context.Context, request *sync.TLSyncUpdatesMe) (*mtproto.Void, error)
SyncUpdatesMe sync.updatesMe flags:# user_id:long auth_key_id:long server_id:string session_id:flags.0?long updates:Updates = Void;
func (*Service) SyncUpdatesNotMe ¶
func (s *Service) SyncUpdatesNotMe(ctx context.Context, request *sync.TLSyncUpdatesNotMe) (*mtproto.Void, error)
SyncUpdatesNotMe sync.updatesNotMe user_id:long auth_key_id:long updates:Updates = Void;