Versions in this module Expand all Collapse all v0 v0.2.0 Sep 27, 2025 Changes in this version + const TypeTask type Client + Task *TaskClient + type Task struct + ID int + Title string + func (_m *Task) String() string + func (_m *Task) Unwrap() *Task + func (_m *Task) Update() *TaskUpdateOne + func (_m *Task) Value(name string) (ent.Value, error) + type TaskClient struct + func NewTaskClient(c config) *TaskClient + func (c *TaskClient) Create() *TaskCreate + func (c *TaskClient) CreateBulk(builders ...*TaskCreate) *TaskCreateBulk + func (c *TaskClient) Delete() *TaskDelete + func (c *TaskClient) DeleteOne(_m *Task) *TaskDeleteOne + func (c *TaskClient) DeleteOneID(id int) *TaskDeleteOne + func (c *TaskClient) Get(ctx context.Context, id int) (*Task, error) + func (c *TaskClient) GetX(ctx context.Context, id int) *Task + func (c *TaskClient) Hooks() []Hook + func (c *TaskClient) Intercept(interceptors ...Interceptor) + func (c *TaskClient) Interceptors() []Interceptor + func (c *TaskClient) MapCreateBulk(slice any, setFunc func(*TaskCreate, int)) *TaskCreateBulk + func (c *TaskClient) Query() *TaskQuery + func (c *TaskClient) Update() *TaskUpdate + func (c *TaskClient) UpdateOne(_m *Task) *TaskUpdateOne + func (c *TaskClient) UpdateOneID(id int) *TaskUpdateOne + func (c *TaskClient) Use(hooks ...Hook) + type TaskCreate struct + func (_c *TaskCreate) Exec(ctx context.Context) error + func (_c *TaskCreate) ExecX(ctx context.Context) + func (_c *TaskCreate) Mutation() *TaskMutation + func (_c *TaskCreate) OnConflict(opts ...sql.ConflictOption) *TaskUpsertOne + func (_c *TaskCreate) OnConflictColumns(columns ...string) *TaskUpsertOne + func (_c *TaskCreate) Save(ctx context.Context) (*Task, error) + func (_c *TaskCreate) SaveX(ctx context.Context) *Task + func (_c *TaskCreate) SetTitle(v string) *TaskCreate + type TaskCreateBulk struct + func (_c *TaskCreateBulk) Exec(ctx context.Context) error + func (_c *TaskCreateBulk) ExecX(ctx context.Context) + func (_c *TaskCreateBulk) OnConflict(opts ...sql.ConflictOption) *TaskUpsertBulk + func (_c *TaskCreateBulk) OnConflictColumns(columns ...string) *TaskUpsertBulk + func (_c *TaskCreateBulk) Save(ctx context.Context) ([]*Task, error) + func (_c *TaskCreateBulk) SaveX(ctx context.Context) []*Task + type TaskDelete struct + func (_d *TaskDelete) Exec(ctx context.Context) (int, error) + func (_d *TaskDelete) ExecX(ctx context.Context) int + func (_d *TaskDelete) Where(ps ...predicate.Task) *TaskDelete + type TaskDeleteOne struct + func (_d *TaskDeleteOne) Exec(ctx context.Context) error + func (_d *TaskDeleteOne) ExecX(ctx context.Context) + func (_d *TaskDeleteOne) Where(ps ...predicate.Task) *TaskDeleteOne + type TaskGroupBy struct + func (_g *TaskGroupBy) Aggregate(fns ...AggregateFunc) *TaskGroupBy + func (_g *TaskGroupBy) Scan(ctx context.Context, v any) error + func (s *TaskGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TaskGroupBy) BoolX(ctx context.Context) bool + func (s *TaskGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TaskGroupBy) BoolsX(ctx context.Context) []bool + func (s *TaskGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TaskGroupBy) Float64X(ctx context.Context) float64 + func (s *TaskGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TaskGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TaskGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TaskGroupBy) IntX(ctx context.Context) int + func (s *TaskGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TaskGroupBy) IntsX(ctx context.Context) []int + func (s *TaskGroupBy) ScanX(ctx context.Context, v any) + func (s *TaskGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TaskGroupBy) StringX(ctx context.Context) string + func (s *TaskGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TaskGroupBy) StringsX(ctx context.Context) []string + type TaskMutation struct + func (m *TaskMutation) AddField(name string, value ent.Value) error + func (m *TaskMutation) AddedEdges() []string + func (m *TaskMutation) AddedField(name string) (ent.Value, bool) + func (m *TaskMutation) AddedFields() []string + func (m *TaskMutation) AddedIDs(name string) []ent.Value + func (m *TaskMutation) ClearEdge(name string) error + func (m *TaskMutation) ClearField(name string) error + func (m *TaskMutation) ClearedEdges() []string + func (m *TaskMutation) ClearedFields() []string + func (m *TaskMutation) EdgeCleared(name string) bool + func (m *TaskMutation) Field(name string) (ent.Value, bool) + func (m *TaskMutation) FieldCleared(name string) bool + func (m *TaskMutation) Fields() []string + func (m *TaskMutation) ID() (id int, exists bool) + func (m *TaskMutation) IDs(ctx context.Context) ([]int, error) + func (m *TaskMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TaskMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *TaskMutation) Op() Op + func (m *TaskMutation) RemovedEdges() []string + func (m *TaskMutation) RemovedIDs(name string) []ent.Value + func (m *TaskMutation) ResetEdge(name string) error + func (m *TaskMutation) ResetField(name string) error + func (m *TaskMutation) ResetTitle() + func (m *TaskMutation) SetField(name string, value ent.Value) error + func (m *TaskMutation) SetOp(op Op) + func (m *TaskMutation) SetTitle(s string) + func (m *TaskMutation) Title() (r string, exists bool) + func (m *TaskMutation) Type() string + func (m *TaskMutation) Where(ps ...predicate.Task) + func (m *TaskMutation) WhereP(ps ...func(*sql.Selector)) + func (m TaskMutation) Client() *Client + func (m TaskMutation) Tx() (*Tx, error) + type TaskQuery struct + func (_q *TaskQuery) Aggregate(fns ...AggregateFunc) *TaskSelect + func (_q *TaskQuery) All(ctx context.Context) ([]*Task, error) + func (_q *TaskQuery) AllX(ctx context.Context) []*Task + func (_q *TaskQuery) Clone() *TaskQuery + func (_q *TaskQuery) Count(ctx context.Context) (int, error) + func (_q *TaskQuery) CountX(ctx context.Context) int + func (_q *TaskQuery) Exist(ctx context.Context) (bool, error) + func (_q *TaskQuery) ExistX(ctx context.Context) bool + func (_q *TaskQuery) First(ctx context.Context) (*Task, error) + func (_q *TaskQuery) FirstID(ctx context.Context) (id int, err error) + func (_q *TaskQuery) FirstIDX(ctx context.Context) int + func (_q *TaskQuery) FirstX(ctx context.Context) *Task + func (_q *TaskQuery) GroupBy(field string, fields ...string) *TaskGroupBy + func (_q *TaskQuery) IDs(ctx context.Context) (ids []int, err error) + func (_q *TaskQuery) IDsX(ctx context.Context) []int + func (_q *TaskQuery) Limit(limit int) *TaskQuery + func (_q *TaskQuery) Offset(offset int) *TaskQuery + func (_q *TaskQuery) Only(ctx context.Context) (*Task, error) + func (_q *TaskQuery) OnlyID(ctx context.Context) (id int, err error) + func (_q *TaskQuery) OnlyIDX(ctx context.Context) int + func (_q *TaskQuery) OnlyX(ctx context.Context) *Task + func (_q *TaskQuery) Order(o ...task.OrderOption) *TaskQuery + func (_q *TaskQuery) Select(fields ...string) *TaskSelect + func (_q *TaskQuery) Unique(unique bool) *TaskQuery + func (_q *TaskQuery) Where(ps ...predicate.Task) *TaskQuery + type TaskSelect struct + func (_s *TaskSelect) Aggregate(fns ...AggregateFunc) *TaskSelect + func (_s *TaskSelect) Scan(ctx context.Context, v any) error + func (s *TaskSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TaskSelect) BoolX(ctx context.Context) bool + func (s *TaskSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TaskSelect) BoolsX(ctx context.Context) []bool + func (s *TaskSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TaskSelect) Float64X(ctx context.Context) float64 + func (s *TaskSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TaskSelect) Float64sX(ctx context.Context) []float64 + func (s *TaskSelect) Int(ctx context.Context) (_ int, err error) + func (s *TaskSelect) IntX(ctx context.Context) int + func (s *TaskSelect) Ints(ctx context.Context) ([]int, error) + func (s *TaskSelect) IntsX(ctx context.Context) []int + func (s *TaskSelect) ScanX(ctx context.Context, v any) + func (s *TaskSelect) String(ctx context.Context) (_ string, err error) + func (s *TaskSelect) StringX(ctx context.Context) string + func (s *TaskSelect) Strings(ctx context.Context) ([]string, error) + func (s *TaskSelect) StringsX(ctx context.Context) []string + type TaskUpdate struct + func (_u *TaskUpdate) Exec(ctx context.Context) error + func (_u *TaskUpdate) ExecX(ctx context.Context) + func (_u *TaskUpdate) Mutation() *TaskMutation + func (_u *TaskUpdate) Save(ctx context.Context) (int, error) + func (_u *TaskUpdate) SaveX(ctx context.Context) int + func (_u *TaskUpdate) SetNillableTitle(v *string) *TaskUpdate + func (_u *TaskUpdate) SetTitle(v string) *TaskUpdate + func (_u *TaskUpdate) Where(ps ...predicate.Task) *TaskUpdate + type TaskUpdateOne struct + func (_u *TaskUpdateOne) Exec(ctx context.Context) error + func (_u *TaskUpdateOne) ExecX(ctx context.Context) + func (_u *TaskUpdateOne) Mutation() *TaskMutation + func (_u *TaskUpdateOne) Save(ctx context.Context) (*Task, error) + func (_u *TaskUpdateOne) SaveX(ctx context.Context) *Task + func (_u *TaskUpdateOne) Select(field string, fields ...string) *TaskUpdateOne + func (_u *TaskUpdateOne) SetNillableTitle(v *string) *TaskUpdateOne + func (_u *TaskUpdateOne) SetTitle(v string) *TaskUpdateOne + func (_u *TaskUpdateOne) Where(ps ...predicate.Task) *TaskUpdateOne + type TaskUpsert struct + func (u *TaskUpsert) SetTitle(v string) *TaskUpsert + func (u *TaskUpsert) UpdateTitle() *TaskUpsert + type TaskUpsertBulk struct + func (u *TaskUpsertBulk) DoNothing() *TaskUpsertBulk + func (u *TaskUpsertBulk) Exec(ctx context.Context) error + func (u *TaskUpsertBulk) ExecX(ctx context.Context) + func (u *TaskUpsertBulk) Ignore() *TaskUpsertBulk + func (u *TaskUpsertBulk) SetTitle(v string) *TaskUpsertBulk + func (u *TaskUpsertBulk) Update(set func(*TaskUpsert)) *TaskUpsertBulk + func (u *TaskUpsertBulk) UpdateNewValues() *TaskUpsertBulk + func (u *TaskUpsertBulk) UpdateTitle() *TaskUpsertBulk + type TaskUpsertOne struct + func (u *TaskUpsertOne) DoNothing() *TaskUpsertOne + func (u *TaskUpsertOne) Exec(ctx context.Context) error + func (u *TaskUpsertOne) ExecX(ctx context.Context) + func (u *TaskUpsertOne) ID(ctx context.Context) (id int, err error) + func (u *TaskUpsertOne) IDX(ctx context.Context) int + func (u *TaskUpsertOne) Ignore() *TaskUpsertOne + func (u *TaskUpsertOne) SetTitle(v string) *TaskUpsertOne + func (u *TaskUpsertOne) Update(set func(*TaskUpsert)) *TaskUpsertOne + func (u *TaskUpsertOne) UpdateNewValues() *TaskUpsertOne + func (u *TaskUpsertOne) UpdateTitle() *TaskUpsertOne + type Tasks []*Task type Tx + Task *TaskClient v0.1.3 Sep 27, 2025 v0.1.2 Sep 27, 2025 v0.1.1 Sep 27, 2025 v0.1.0 Sep 27, 2025 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeTelegramChannel + const TypeTelegramSession + var ErrTxStarted = errors.New("ent: cannot start a transaction within a transaction") + func Asc(fields ...string) func(*sql.Selector) + func Desc(fields ...string) func(*sql.Selector) + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Client struct + Schema *migrate.Schema + TelegramChannel *TelegramChannelClient + TelegramSession *TelegramSessionClient + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Intercept(interceptors ...Interceptor) + func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error) + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderFunc func(*sql.Selector) + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type TelegramChannel struct + AccessHash int64 + Active bool + ID int64 + Title string + func (_m *TelegramChannel) String() string + func (_m *TelegramChannel) Unwrap() *TelegramChannel + func (_m *TelegramChannel) Update() *TelegramChannelUpdateOne + func (_m *TelegramChannel) Value(name string) (ent.Value, error) + type TelegramChannelClient struct + func NewTelegramChannelClient(c config) *TelegramChannelClient + func (c *TelegramChannelClient) Create() *TelegramChannelCreate + func (c *TelegramChannelClient) CreateBulk(builders ...*TelegramChannelCreate) *TelegramChannelCreateBulk + func (c *TelegramChannelClient) Delete() *TelegramChannelDelete + func (c *TelegramChannelClient) DeleteOne(_m *TelegramChannel) *TelegramChannelDeleteOne + func (c *TelegramChannelClient) DeleteOneID(id int64) *TelegramChannelDeleteOne + func (c *TelegramChannelClient) Get(ctx context.Context, id int64) (*TelegramChannel, error) + func (c *TelegramChannelClient) GetX(ctx context.Context, id int64) *TelegramChannel + func (c *TelegramChannelClient) Hooks() []Hook + func (c *TelegramChannelClient) Intercept(interceptors ...Interceptor) + func (c *TelegramChannelClient) Interceptors() []Interceptor + func (c *TelegramChannelClient) MapCreateBulk(slice any, setFunc func(*TelegramChannelCreate, int)) *TelegramChannelCreateBulk + func (c *TelegramChannelClient) Query() *TelegramChannelQuery + func (c *TelegramChannelClient) Update() *TelegramChannelUpdate + func (c *TelegramChannelClient) UpdateOne(_m *TelegramChannel) *TelegramChannelUpdateOne + func (c *TelegramChannelClient) UpdateOneID(id int64) *TelegramChannelUpdateOne + func (c *TelegramChannelClient) Use(hooks ...Hook) + type TelegramChannelCreate struct + func (_c *TelegramChannelCreate) Exec(ctx context.Context) error + func (_c *TelegramChannelCreate) ExecX(ctx context.Context) + func (_c *TelegramChannelCreate) Mutation() *TelegramChannelMutation + func (_c *TelegramChannelCreate) OnConflict(opts ...sql.ConflictOption) *TelegramChannelUpsertOne + func (_c *TelegramChannelCreate) OnConflictColumns(columns ...string) *TelegramChannelUpsertOne + func (_c *TelegramChannelCreate) Save(ctx context.Context) (*TelegramChannel, error) + func (_c *TelegramChannelCreate) SaveX(ctx context.Context) *TelegramChannel + func (_c *TelegramChannelCreate) SetAccessHash(v int64) *TelegramChannelCreate + func (_c *TelegramChannelCreate) SetActive(v bool) *TelegramChannelCreate + func (_c *TelegramChannelCreate) SetID(v int64) *TelegramChannelCreate + func (_c *TelegramChannelCreate) SetTitle(v string) *TelegramChannelCreate + type TelegramChannelCreateBulk struct + func (_c *TelegramChannelCreateBulk) Exec(ctx context.Context) error + func (_c *TelegramChannelCreateBulk) ExecX(ctx context.Context) + func (_c *TelegramChannelCreateBulk) OnConflict(opts ...sql.ConflictOption) *TelegramChannelUpsertBulk + func (_c *TelegramChannelCreateBulk) OnConflictColumns(columns ...string) *TelegramChannelUpsertBulk + func (_c *TelegramChannelCreateBulk) Save(ctx context.Context) ([]*TelegramChannel, error) + func (_c *TelegramChannelCreateBulk) SaveX(ctx context.Context) []*TelegramChannel + type TelegramChannelDelete struct + func (_d *TelegramChannelDelete) Exec(ctx context.Context) (int, error) + func (_d *TelegramChannelDelete) ExecX(ctx context.Context) int + func (_d *TelegramChannelDelete) Where(ps ...predicate.TelegramChannel) *TelegramChannelDelete + type TelegramChannelDeleteOne struct + func (_d *TelegramChannelDeleteOne) Exec(ctx context.Context) error + func (_d *TelegramChannelDeleteOne) ExecX(ctx context.Context) + func (_d *TelegramChannelDeleteOne) Where(ps ...predicate.TelegramChannel) *TelegramChannelDeleteOne + type TelegramChannelGroupBy struct + func (_g *TelegramChannelGroupBy) Aggregate(fns ...AggregateFunc) *TelegramChannelGroupBy + func (_g *TelegramChannelGroupBy) Scan(ctx context.Context, v any) error + func (s *TelegramChannelGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TelegramChannelGroupBy) BoolX(ctx context.Context) bool + func (s *TelegramChannelGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TelegramChannelGroupBy) BoolsX(ctx context.Context) []bool + func (s *TelegramChannelGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TelegramChannelGroupBy) Float64X(ctx context.Context) float64 + func (s *TelegramChannelGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TelegramChannelGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TelegramChannelGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TelegramChannelGroupBy) IntX(ctx context.Context) int + func (s *TelegramChannelGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TelegramChannelGroupBy) IntsX(ctx context.Context) []int + func (s *TelegramChannelGroupBy) ScanX(ctx context.Context, v any) + func (s *TelegramChannelGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TelegramChannelGroupBy) StringX(ctx context.Context) string + func (s *TelegramChannelGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TelegramChannelGroupBy) StringsX(ctx context.Context) []string + type TelegramChannelMutation struct + func (m *TelegramChannelMutation) AccessHash() (r int64, exists bool) + func (m *TelegramChannelMutation) Active() (r bool, exists bool) + func (m *TelegramChannelMutation) AddAccessHash(i int64) + func (m *TelegramChannelMutation) AddField(name string, value ent.Value) error + func (m *TelegramChannelMutation) AddedAccessHash() (r int64, exists bool) + func (m *TelegramChannelMutation) AddedEdges() []string + func (m *TelegramChannelMutation) AddedField(name string) (ent.Value, bool) + func (m *TelegramChannelMutation) AddedFields() []string + func (m *TelegramChannelMutation) AddedIDs(name string) []ent.Value + func (m *TelegramChannelMutation) ClearEdge(name string) error + func (m *TelegramChannelMutation) ClearField(name string) error + func (m *TelegramChannelMutation) ClearedEdges() []string + func (m *TelegramChannelMutation) ClearedFields() []string + func (m *TelegramChannelMutation) EdgeCleared(name string) bool + func (m *TelegramChannelMutation) Field(name string) (ent.Value, bool) + func (m *TelegramChannelMutation) FieldCleared(name string) bool + func (m *TelegramChannelMutation) Fields() []string + func (m *TelegramChannelMutation) ID() (id int64, exists bool) + func (m *TelegramChannelMutation) IDs(ctx context.Context) ([]int64, error) + func (m *TelegramChannelMutation) OldAccessHash(ctx context.Context) (v int64, err error) + func (m *TelegramChannelMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *TelegramChannelMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TelegramChannelMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *TelegramChannelMutation) Op() Op + func (m *TelegramChannelMutation) RemovedEdges() []string + func (m *TelegramChannelMutation) RemovedIDs(name string) []ent.Value + func (m *TelegramChannelMutation) ResetAccessHash() + func (m *TelegramChannelMutation) ResetActive() + func (m *TelegramChannelMutation) ResetEdge(name string) error + func (m *TelegramChannelMutation) ResetField(name string) error + func (m *TelegramChannelMutation) ResetTitle() + func (m *TelegramChannelMutation) SetAccessHash(i int64) + func (m *TelegramChannelMutation) SetActive(b bool) + func (m *TelegramChannelMutation) SetField(name string, value ent.Value) error + func (m *TelegramChannelMutation) SetID(id int64) + func (m *TelegramChannelMutation) SetOp(op Op) + func (m *TelegramChannelMutation) SetTitle(s string) + func (m *TelegramChannelMutation) Title() (r string, exists bool) + func (m *TelegramChannelMutation) Type() string + func (m *TelegramChannelMutation) Where(ps ...predicate.TelegramChannel) + func (m *TelegramChannelMutation) WhereP(ps ...func(*sql.Selector)) + func (m TelegramChannelMutation) Client() *Client + func (m TelegramChannelMutation) Tx() (*Tx, error) + type TelegramChannelQuery struct + func (_q *TelegramChannelQuery) Aggregate(fns ...AggregateFunc) *TelegramChannelSelect + func (_q *TelegramChannelQuery) All(ctx context.Context) ([]*TelegramChannel, error) + func (_q *TelegramChannelQuery) AllX(ctx context.Context) []*TelegramChannel + func (_q *TelegramChannelQuery) Clone() *TelegramChannelQuery + func (_q *TelegramChannelQuery) Count(ctx context.Context) (int, error) + func (_q *TelegramChannelQuery) CountX(ctx context.Context) int + func (_q *TelegramChannelQuery) Exist(ctx context.Context) (bool, error) + func (_q *TelegramChannelQuery) ExistX(ctx context.Context) bool + func (_q *TelegramChannelQuery) First(ctx context.Context) (*TelegramChannel, error) + func (_q *TelegramChannelQuery) FirstID(ctx context.Context) (id int64, err error) + func (_q *TelegramChannelQuery) FirstIDX(ctx context.Context) int64 + func (_q *TelegramChannelQuery) FirstX(ctx context.Context) *TelegramChannel + func (_q *TelegramChannelQuery) GroupBy(field string, fields ...string) *TelegramChannelGroupBy + func (_q *TelegramChannelQuery) IDs(ctx context.Context) (ids []int64, err error) + func (_q *TelegramChannelQuery) IDsX(ctx context.Context) []int64 + func (_q *TelegramChannelQuery) Limit(limit int) *TelegramChannelQuery + func (_q *TelegramChannelQuery) Offset(offset int) *TelegramChannelQuery + func (_q *TelegramChannelQuery) Only(ctx context.Context) (*TelegramChannel, error) + func (_q *TelegramChannelQuery) OnlyID(ctx context.Context) (id int64, err error) + func (_q *TelegramChannelQuery) OnlyIDX(ctx context.Context) int64 + func (_q *TelegramChannelQuery) OnlyX(ctx context.Context) *TelegramChannel + func (_q *TelegramChannelQuery) Order(o ...telegramchannel.OrderOption) *TelegramChannelQuery + func (_q *TelegramChannelQuery) Select(fields ...string) *TelegramChannelSelect + func (_q *TelegramChannelQuery) Unique(unique bool) *TelegramChannelQuery + func (_q *TelegramChannelQuery) Where(ps ...predicate.TelegramChannel) *TelegramChannelQuery + type TelegramChannelSelect struct + func (_s *TelegramChannelSelect) Aggregate(fns ...AggregateFunc) *TelegramChannelSelect + func (_s *TelegramChannelSelect) Scan(ctx context.Context, v any) error + func (s *TelegramChannelSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TelegramChannelSelect) BoolX(ctx context.Context) bool + func (s *TelegramChannelSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TelegramChannelSelect) BoolsX(ctx context.Context) []bool + func (s *TelegramChannelSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TelegramChannelSelect) Float64X(ctx context.Context) float64 + func (s *TelegramChannelSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TelegramChannelSelect) Float64sX(ctx context.Context) []float64 + func (s *TelegramChannelSelect) Int(ctx context.Context) (_ int, err error) + func (s *TelegramChannelSelect) IntX(ctx context.Context) int + func (s *TelegramChannelSelect) Ints(ctx context.Context) ([]int, error) + func (s *TelegramChannelSelect) IntsX(ctx context.Context) []int + func (s *TelegramChannelSelect) ScanX(ctx context.Context, v any) + func (s *TelegramChannelSelect) String(ctx context.Context) (_ string, err error) + func (s *TelegramChannelSelect) StringX(ctx context.Context) string + func (s *TelegramChannelSelect) Strings(ctx context.Context) ([]string, error) + func (s *TelegramChannelSelect) StringsX(ctx context.Context) []string + type TelegramChannelUpdate struct + func (_u *TelegramChannelUpdate) AddAccessHash(v int64) *TelegramChannelUpdate + func (_u *TelegramChannelUpdate) Exec(ctx context.Context) error + func (_u *TelegramChannelUpdate) ExecX(ctx context.Context) + func (_u *TelegramChannelUpdate) Mutation() *TelegramChannelMutation + func (_u *TelegramChannelUpdate) Save(ctx context.Context) (int, error) + func (_u *TelegramChannelUpdate) SaveX(ctx context.Context) int + func (_u *TelegramChannelUpdate) SetAccessHash(v int64) *TelegramChannelUpdate + func (_u *TelegramChannelUpdate) SetActive(v bool) *TelegramChannelUpdate + func (_u *TelegramChannelUpdate) SetNillableAccessHash(v *int64) *TelegramChannelUpdate + func (_u *TelegramChannelUpdate) SetNillableActive(v *bool) *TelegramChannelUpdate + func (_u *TelegramChannelUpdate) SetNillableTitle(v *string) *TelegramChannelUpdate + func (_u *TelegramChannelUpdate) SetTitle(v string) *TelegramChannelUpdate + func (_u *TelegramChannelUpdate) Where(ps ...predicate.TelegramChannel) *TelegramChannelUpdate + type TelegramChannelUpdateOne struct + func (_u *TelegramChannelUpdateOne) AddAccessHash(v int64) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) Exec(ctx context.Context) error + func (_u *TelegramChannelUpdateOne) ExecX(ctx context.Context) + func (_u *TelegramChannelUpdateOne) Mutation() *TelegramChannelMutation + func (_u *TelegramChannelUpdateOne) Save(ctx context.Context) (*TelegramChannel, error) + func (_u *TelegramChannelUpdateOne) SaveX(ctx context.Context) *TelegramChannel + func (_u *TelegramChannelUpdateOne) Select(field string, fields ...string) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) SetAccessHash(v int64) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) SetActive(v bool) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) SetNillableAccessHash(v *int64) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) SetNillableActive(v *bool) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) SetNillableTitle(v *string) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) SetTitle(v string) *TelegramChannelUpdateOne + func (_u *TelegramChannelUpdateOne) Where(ps ...predicate.TelegramChannel) *TelegramChannelUpdateOne + type TelegramChannelUpsert struct + func (u *TelegramChannelUpsert) AddAccessHash(v int64) *TelegramChannelUpsert + func (u *TelegramChannelUpsert) SetAccessHash(v int64) *TelegramChannelUpsert + func (u *TelegramChannelUpsert) SetActive(v bool) *TelegramChannelUpsert + func (u *TelegramChannelUpsert) SetTitle(v string) *TelegramChannelUpsert + func (u *TelegramChannelUpsert) UpdateAccessHash() *TelegramChannelUpsert + func (u *TelegramChannelUpsert) UpdateActive() *TelegramChannelUpsert + func (u *TelegramChannelUpsert) UpdateTitle() *TelegramChannelUpsert + type TelegramChannelUpsertBulk struct + func (u *TelegramChannelUpsertBulk) AddAccessHash(v int64) *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) DoNothing() *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) Exec(ctx context.Context) error + func (u *TelegramChannelUpsertBulk) ExecX(ctx context.Context) + func (u *TelegramChannelUpsertBulk) Ignore() *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) SetAccessHash(v int64) *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) SetActive(v bool) *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) SetTitle(v string) *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) Update(set func(*TelegramChannelUpsert)) *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) UpdateAccessHash() *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) UpdateActive() *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) UpdateNewValues() *TelegramChannelUpsertBulk + func (u *TelegramChannelUpsertBulk) UpdateTitle() *TelegramChannelUpsertBulk + type TelegramChannelUpsertOne struct + func (u *TelegramChannelUpsertOne) AddAccessHash(v int64) *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) DoNothing() *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) Exec(ctx context.Context) error + func (u *TelegramChannelUpsertOne) ExecX(ctx context.Context) + func (u *TelegramChannelUpsertOne) ID(ctx context.Context) (id int64, err error) + func (u *TelegramChannelUpsertOne) IDX(ctx context.Context) int64 + func (u *TelegramChannelUpsertOne) Ignore() *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) SetAccessHash(v int64) *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) SetActive(v bool) *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) SetTitle(v string) *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) Update(set func(*TelegramChannelUpsert)) *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) UpdateAccessHash() *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) UpdateActive() *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) UpdateNewValues() *TelegramChannelUpsertOne + func (u *TelegramChannelUpsertOne) UpdateTitle() *TelegramChannelUpsertOne + type TelegramChannels []*TelegramChannel + type TelegramSession struct + Data []byte + ID int + func (_m *TelegramSession) String() string + func (_m *TelegramSession) Unwrap() *TelegramSession + func (_m *TelegramSession) Update() *TelegramSessionUpdateOne + func (_m *TelegramSession) Value(name string) (ent.Value, error) + type TelegramSessionClient struct + func NewTelegramSessionClient(c config) *TelegramSessionClient + func (c *TelegramSessionClient) Create() *TelegramSessionCreate + func (c *TelegramSessionClient) CreateBulk(builders ...*TelegramSessionCreate) *TelegramSessionCreateBulk + func (c *TelegramSessionClient) Delete() *TelegramSessionDelete + func (c *TelegramSessionClient) DeleteOne(_m *TelegramSession) *TelegramSessionDeleteOne + func (c *TelegramSessionClient) DeleteOneID(id int) *TelegramSessionDeleteOne + func (c *TelegramSessionClient) Get(ctx context.Context, id int) (*TelegramSession, error) + func (c *TelegramSessionClient) GetX(ctx context.Context, id int) *TelegramSession + func (c *TelegramSessionClient) Hooks() []Hook + func (c *TelegramSessionClient) Intercept(interceptors ...Interceptor) + func (c *TelegramSessionClient) Interceptors() []Interceptor + func (c *TelegramSessionClient) MapCreateBulk(slice any, setFunc func(*TelegramSessionCreate, int)) *TelegramSessionCreateBulk + func (c *TelegramSessionClient) Query() *TelegramSessionQuery + func (c *TelegramSessionClient) Update() *TelegramSessionUpdate + func (c *TelegramSessionClient) UpdateOne(_m *TelegramSession) *TelegramSessionUpdateOne + func (c *TelegramSessionClient) UpdateOneID(id int) *TelegramSessionUpdateOne + func (c *TelegramSessionClient) Use(hooks ...Hook) + type TelegramSessionCreate struct + func (_c *TelegramSessionCreate) Exec(ctx context.Context) error + func (_c *TelegramSessionCreate) ExecX(ctx context.Context) + func (_c *TelegramSessionCreate) Mutation() *TelegramSessionMutation + func (_c *TelegramSessionCreate) OnConflict(opts ...sql.ConflictOption) *TelegramSessionUpsertOne + func (_c *TelegramSessionCreate) OnConflictColumns(columns ...string) *TelegramSessionUpsertOne + func (_c *TelegramSessionCreate) Save(ctx context.Context) (*TelegramSession, error) + func (_c *TelegramSessionCreate) SaveX(ctx context.Context) *TelegramSession + func (_c *TelegramSessionCreate) SetData(v []byte) *TelegramSessionCreate + func (_c *TelegramSessionCreate) SetID(v int) *TelegramSessionCreate + type TelegramSessionCreateBulk struct + func (_c *TelegramSessionCreateBulk) Exec(ctx context.Context) error + func (_c *TelegramSessionCreateBulk) ExecX(ctx context.Context) + func (_c *TelegramSessionCreateBulk) OnConflict(opts ...sql.ConflictOption) *TelegramSessionUpsertBulk + func (_c *TelegramSessionCreateBulk) OnConflictColumns(columns ...string) *TelegramSessionUpsertBulk + func (_c *TelegramSessionCreateBulk) Save(ctx context.Context) ([]*TelegramSession, error) + func (_c *TelegramSessionCreateBulk) SaveX(ctx context.Context) []*TelegramSession + type TelegramSessionDelete struct + func (_d *TelegramSessionDelete) Exec(ctx context.Context) (int, error) + func (_d *TelegramSessionDelete) ExecX(ctx context.Context) int + func (_d *TelegramSessionDelete) Where(ps ...predicate.TelegramSession) *TelegramSessionDelete + type TelegramSessionDeleteOne struct + func (_d *TelegramSessionDeleteOne) Exec(ctx context.Context) error + func (_d *TelegramSessionDeleteOne) ExecX(ctx context.Context) + func (_d *TelegramSessionDeleteOne) Where(ps ...predicate.TelegramSession) *TelegramSessionDeleteOne + type TelegramSessionGroupBy struct + func (_g *TelegramSessionGroupBy) Aggregate(fns ...AggregateFunc) *TelegramSessionGroupBy + func (_g *TelegramSessionGroupBy) Scan(ctx context.Context, v any) error + func (s *TelegramSessionGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TelegramSessionGroupBy) BoolX(ctx context.Context) bool + func (s *TelegramSessionGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TelegramSessionGroupBy) BoolsX(ctx context.Context) []bool + func (s *TelegramSessionGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TelegramSessionGroupBy) Float64X(ctx context.Context) float64 + func (s *TelegramSessionGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TelegramSessionGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TelegramSessionGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TelegramSessionGroupBy) IntX(ctx context.Context) int + func (s *TelegramSessionGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TelegramSessionGroupBy) IntsX(ctx context.Context) []int + func (s *TelegramSessionGroupBy) ScanX(ctx context.Context, v any) + func (s *TelegramSessionGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TelegramSessionGroupBy) StringX(ctx context.Context) string + func (s *TelegramSessionGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TelegramSessionGroupBy) StringsX(ctx context.Context) []string + type TelegramSessionMutation struct + func (m *TelegramSessionMutation) AddField(name string, value ent.Value) error + func (m *TelegramSessionMutation) AddedEdges() []string + func (m *TelegramSessionMutation) AddedField(name string) (ent.Value, bool) + func (m *TelegramSessionMutation) AddedFields() []string + func (m *TelegramSessionMutation) AddedIDs(name string) []ent.Value + func (m *TelegramSessionMutation) ClearEdge(name string) error + func (m *TelegramSessionMutation) ClearField(name string) error + func (m *TelegramSessionMutation) ClearedEdges() []string + func (m *TelegramSessionMutation) ClearedFields() []string + func (m *TelegramSessionMutation) Data() (r []byte, exists bool) + func (m *TelegramSessionMutation) EdgeCleared(name string) bool + func (m *TelegramSessionMutation) Field(name string) (ent.Value, bool) + func (m *TelegramSessionMutation) FieldCleared(name string) bool + func (m *TelegramSessionMutation) Fields() []string + func (m *TelegramSessionMutation) ID() (id int, exists bool) + func (m *TelegramSessionMutation) IDs(ctx context.Context) ([]int, error) + func (m *TelegramSessionMutation) OldData(ctx context.Context) (v []byte, err error) + func (m *TelegramSessionMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TelegramSessionMutation) Op() Op + func (m *TelegramSessionMutation) RemovedEdges() []string + func (m *TelegramSessionMutation) RemovedIDs(name string) []ent.Value + func (m *TelegramSessionMutation) ResetData() + func (m *TelegramSessionMutation) ResetEdge(name string) error + func (m *TelegramSessionMutation) ResetField(name string) error + func (m *TelegramSessionMutation) SetData(b []byte) + func (m *TelegramSessionMutation) SetField(name string, value ent.Value) error + func (m *TelegramSessionMutation) SetID(id int) + func (m *TelegramSessionMutation) SetOp(op Op) + func (m *TelegramSessionMutation) Type() string + func (m *TelegramSessionMutation) Where(ps ...predicate.TelegramSession) + func (m *TelegramSessionMutation) WhereP(ps ...func(*sql.Selector)) + func (m TelegramSessionMutation) Client() *Client + func (m TelegramSessionMutation) Tx() (*Tx, error) + type TelegramSessionQuery struct + func (_q *TelegramSessionQuery) Aggregate(fns ...AggregateFunc) *TelegramSessionSelect + func (_q *TelegramSessionQuery) All(ctx context.Context) ([]*TelegramSession, error) + func (_q *TelegramSessionQuery) AllX(ctx context.Context) []*TelegramSession + func (_q *TelegramSessionQuery) Clone() *TelegramSessionQuery + func (_q *TelegramSessionQuery) Count(ctx context.Context) (int, error) + func (_q *TelegramSessionQuery) CountX(ctx context.Context) int + func (_q *TelegramSessionQuery) Exist(ctx context.Context) (bool, error) + func (_q *TelegramSessionQuery) ExistX(ctx context.Context) bool + func (_q *TelegramSessionQuery) First(ctx context.Context) (*TelegramSession, error) + func (_q *TelegramSessionQuery) FirstID(ctx context.Context) (id int, err error) + func (_q *TelegramSessionQuery) FirstIDX(ctx context.Context) int + func (_q *TelegramSessionQuery) FirstX(ctx context.Context) *TelegramSession + func (_q *TelegramSessionQuery) GroupBy(field string, fields ...string) *TelegramSessionGroupBy + func (_q *TelegramSessionQuery) IDs(ctx context.Context) (ids []int, err error) + func (_q *TelegramSessionQuery) IDsX(ctx context.Context) []int + func (_q *TelegramSessionQuery) Limit(limit int) *TelegramSessionQuery + func (_q *TelegramSessionQuery) Offset(offset int) *TelegramSessionQuery + func (_q *TelegramSessionQuery) Only(ctx context.Context) (*TelegramSession, error) + func (_q *TelegramSessionQuery) OnlyID(ctx context.Context) (id int, err error) + func (_q *TelegramSessionQuery) OnlyIDX(ctx context.Context) int + func (_q *TelegramSessionQuery) OnlyX(ctx context.Context) *TelegramSession + func (_q *TelegramSessionQuery) Order(o ...telegramsession.OrderOption) *TelegramSessionQuery + func (_q *TelegramSessionQuery) Select(fields ...string) *TelegramSessionSelect + func (_q *TelegramSessionQuery) Unique(unique bool) *TelegramSessionQuery + func (_q *TelegramSessionQuery) Where(ps ...predicate.TelegramSession) *TelegramSessionQuery + type TelegramSessionSelect struct + func (_s *TelegramSessionSelect) Aggregate(fns ...AggregateFunc) *TelegramSessionSelect + func (_s *TelegramSessionSelect) Scan(ctx context.Context, v any) error + func (s *TelegramSessionSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TelegramSessionSelect) BoolX(ctx context.Context) bool + func (s *TelegramSessionSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TelegramSessionSelect) BoolsX(ctx context.Context) []bool + func (s *TelegramSessionSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TelegramSessionSelect) Float64X(ctx context.Context) float64 + func (s *TelegramSessionSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TelegramSessionSelect) Float64sX(ctx context.Context) []float64 + func (s *TelegramSessionSelect) Int(ctx context.Context) (_ int, err error) + func (s *TelegramSessionSelect) IntX(ctx context.Context) int + func (s *TelegramSessionSelect) Ints(ctx context.Context) ([]int, error) + func (s *TelegramSessionSelect) IntsX(ctx context.Context) []int + func (s *TelegramSessionSelect) ScanX(ctx context.Context, v any) + func (s *TelegramSessionSelect) String(ctx context.Context) (_ string, err error) + func (s *TelegramSessionSelect) StringX(ctx context.Context) string + func (s *TelegramSessionSelect) Strings(ctx context.Context) ([]string, error) + func (s *TelegramSessionSelect) StringsX(ctx context.Context) []string + type TelegramSessionUpdate struct + func (_u *TelegramSessionUpdate) Exec(ctx context.Context) error + func (_u *TelegramSessionUpdate) ExecX(ctx context.Context) + func (_u *TelegramSessionUpdate) Mutation() *TelegramSessionMutation + func (_u *TelegramSessionUpdate) Save(ctx context.Context) (int, error) + func (_u *TelegramSessionUpdate) SaveX(ctx context.Context) int + func (_u *TelegramSessionUpdate) SetData(v []byte) *TelegramSessionUpdate + func (_u *TelegramSessionUpdate) Where(ps ...predicate.TelegramSession) *TelegramSessionUpdate + type TelegramSessionUpdateOne struct + func (_u *TelegramSessionUpdateOne) Exec(ctx context.Context) error + func (_u *TelegramSessionUpdateOne) ExecX(ctx context.Context) + func (_u *TelegramSessionUpdateOne) Mutation() *TelegramSessionMutation + func (_u *TelegramSessionUpdateOne) Save(ctx context.Context) (*TelegramSession, error) + func (_u *TelegramSessionUpdateOne) SaveX(ctx context.Context) *TelegramSession + func (_u *TelegramSessionUpdateOne) Select(field string, fields ...string) *TelegramSessionUpdateOne + func (_u *TelegramSessionUpdateOne) SetData(v []byte) *TelegramSessionUpdateOne + func (_u *TelegramSessionUpdateOne) Where(ps ...predicate.TelegramSession) *TelegramSessionUpdateOne + type TelegramSessionUpsert struct + func (u *TelegramSessionUpsert) SetData(v []byte) *TelegramSessionUpsert + func (u *TelegramSessionUpsert) UpdateData() *TelegramSessionUpsert + type TelegramSessionUpsertBulk struct + func (u *TelegramSessionUpsertBulk) DoNothing() *TelegramSessionUpsertBulk + func (u *TelegramSessionUpsertBulk) Exec(ctx context.Context) error + func (u *TelegramSessionUpsertBulk) ExecX(ctx context.Context) + func (u *TelegramSessionUpsertBulk) Ignore() *TelegramSessionUpsertBulk + func (u *TelegramSessionUpsertBulk) SetData(v []byte) *TelegramSessionUpsertBulk + func (u *TelegramSessionUpsertBulk) Update(set func(*TelegramSessionUpsert)) *TelegramSessionUpsertBulk + func (u *TelegramSessionUpsertBulk) UpdateData() *TelegramSessionUpsertBulk + func (u *TelegramSessionUpsertBulk) UpdateNewValues() *TelegramSessionUpsertBulk + type TelegramSessionUpsertOne struct + func (u *TelegramSessionUpsertOne) DoNothing() *TelegramSessionUpsertOne + func (u *TelegramSessionUpsertOne) Exec(ctx context.Context) error + func (u *TelegramSessionUpsertOne) ExecX(ctx context.Context) + func (u *TelegramSessionUpsertOne) ID(ctx context.Context) (id int, err error) + func (u *TelegramSessionUpsertOne) IDX(ctx context.Context) int + func (u *TelegramSessionUpsertOne) Ignore() *TelegramSessionUpsertOne + func (u *TelegramSessionUpsertOne) SetData(v []byte) *TelegramSessionUpsertOne + func (u *TelegramSessionUpsertOne) Update(set func(*TelegramSessionUpsert)) *TelegramSessionUpsertOne + func (u *TelegramSessionUpsertOne) UpdateData() *TelegramSessionUpsertOne + func (u *TelegramSessionUpsertOne) UpdateNewValues() *TelegramSessionUpsertOne + type TelegramSessions []*TelegramSession + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + TelegramChannel *TelegramChannelClient + TelegramSession *TelegramSessionClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value