query

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 7 Imported by: 15

Documentation

Overview

Package query contains generic pagination helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	// contains filtered or unexported fields
}

Query is common struct to create query builders.

func NewQuery

func NewQuery(raw *tg.Client) *Query

NewQuery creates Query.

func (*Query) Blocked

func (q *Query) Blocked() *blocked.QueryBuilder

Blocked creates blocked.QueryBuilder

func (*Query) Dialogs

func (q *Query) Dialogs() *dialogs.QueryBuilder

Dialogs creates dialogs.QueryBuilder

func (*Query) Featured

func (q *Query) Featured() *featured.QueryBuilder

Featured creates featured.QueryBuilder

func (*Query) Messages

func (q *Query) Messages() *messages.QueryBuilder

Messages creates messages.QueryBuilder

func (*Query) Participants

func (q *Query) Participants() *participants.QueryBuilder

Participants creates participants.QueryBuilder

func (*Query) Photos

func (q *Query) Photos() *photos.QueryBuilder

Photos creates photos.QueryBuilder

Directories

Path Synopsis
channels
participants
Package participants contains channel participants iteration helper.
Package participants contains channel participants iteration helper.
contacts
blocked
Package blocked contains blocked contacts iteration helper.
Package blocked contains blocked contacts iteration helper.
Package dialogs contains dialog iteration helper.
Package dialogs contains dialog iteration helper.
Package hasher contains Telegram pagination hash implementation.
Package hasher contains Telegram pagination hash implementation.
internal
gen
Package messages contains message iteration helper.
Package messages contains message iteration helper.
stickers/featured
Package featured contains featured stickers iteration helper.
Package featured contains featured stickers iteration helper.
Package photos contains photos iteration helper.
Package photos contains photos iteration helper.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL