Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserClient ¶
type UserClient struct {
TClient *gotgproto.Client
GlobalIgnoreUsers []int64
// contains filtered or unexported fields
}
var UC *UserClient
func NewUserClient ¶
func NewUserClient(ctx context.Context) (*UserClient, error)
func (*UserClient) AddGlobalIgnoreUser ¶
func (u *UserClient) AddGlobalIgnoreUser(userID int64)
func (*UserClient) Close ¶
func (u *UserClient) Close() error
func (*UserClient) RemoveGlobalIgnoreUser ¶
func (u *UserClient) RemoveGlobalIgnoreUser(userID int64)
func (*UserClient) StartWatch ¶
func (u *UserClient) StartWatch(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.