type github.com/gotd/td/tg.Photo
76 uses
github.com/gotd/td/tg (current package)
tl_bot_info_gen.go#L478: func (b *BotInfo) GetDescriptionPhotoAsNotEmpty() (*Photo, bool) {
tl_game_gen.go#L379: func (g *Game) GetPhotoAsNotEmpty() (*Photo, bool) {
tl_photo_gen.go#L173: type Photo struct {
tl_photo_gen.go#L209: func (p Photo) construct() PhotoClass { return &p }
tl_photo_gen.go#L213: _ bin.Encoder = &Photo{}
tl_photo_gen.go#L214: _ bin.Decoder = &Photo{}
tl_photo_gen.go#L215: _ bin.BareEncoder = &Photo{}
tl_photo_gen.go#L216: _ bin.BareDecoder = &Photo{}
tl_photo_gen.go#L218: _ PhotoClass = &Photo{}
tl_photo_gen.go#L221: func (p *Photo) Zero() bool {
tl_photo_gen.go#L257: func (p *Photo) String() string {
tl_photo_gen.go#L261: type Alias Photo
tl_photo_gen.go#L266: func (p *Photo) FillFrom(from interface {
tl_photo_gen.go#L292: func (*Photo) TypeID() uint32 {
tl_photo_gen.go#L297: func (*Photo) TypeName() string {
tl_photo_gen.go#L302: func (p *Photo) TypeInfo() tdp.Type {
tl_photo_gen.go#L351: func (p *Photo) SetFlags() {
tl_photo_gen.go#L361: func (p *Photo) Encode(b *bin.Buffer) error {
tl_photo_gen.go#L370: func (p *Photo) EncodeBare(b *bin.Buffer) error {
tl_photo_gen.go#L407: func (p *Photo) Decode(b *bin.Buffer) error {
tl_photo_gen.go#L418: func (p *Photo) DecodeBare(b *bin.Buffer) error {
tl_photo_gen.go#L501: func (p *Photo) SetHasStickers(value bool) {
tl_photo_gen.go#L512: func (p *Photo) GetHasStickers() (value bool) {
tl_photo_gen.go#L520: func (p *Photo) GetID() (value int64) {
tl_photo_gen.go#L528: func (p *Photo) GetAccessHash() (value int64) {
tl_photo_gen.go#L536: func (p *Photo) GetFileReference() (value []byte) {
tl_photo_gen.go#L544: func (p *Photo) GetDate() (value int) {
tl_photo_gen.go#L552: func (p *Photo) GetSizes() (value []PhotoSizeClass) {
tl_photo_gen.go#L560: func (p *Photo) SetVideoSizes(value []VideoSizeClass) {
tl_photo_gen.go#L567: func (p *Photo) GetVideoSizes() (value []VideoSizeClass, ok bool) {
tl_photo_gen.go#L578: func (p *Photo) GetDCID() (value int) {
tl_photo_gen.go#L586: func (p *Photo) MapSizes() (value PhotoSizeClassArray) {
tl_photo_gen.go#L591: func (p *Photo) MapVideoSizes() (value VideoSizeClassArray, ok bool) {
tl_photo_gen.go#L638: AsNotEmpty() (*Photo, bool)
tl_photo_gen.go#L642: func (p *Photo) AsInput() *InputPhoto {
tl_photo_gen.go#L652: func (p *PhotoEmpty) AsNotEmpty() (*Photo, bool) {
tl_photo_gen.go#L657: func (p *Photo) AsNotEmpty() (*Photo, bool) {
tl_photo_gen.go#L677: v := Photo{}
tl_photo_slices_gen.go#L165: func (s PhotoClassArray) FillPhotoMap(to map[int64]*Photo) {
tl_photo_slices_gen.go#L167: value, ok := elem.(*Photo)
tl_photo_slices_gen.go#L176: func (s PhotoClassArray) PhotoToMap() map[int64]*Photo {
tl_photo_slices_gen.go#L177: r := make(map[int64]*Photo, len(s))
tl_photo_slices_gen.go#L185: value, ok := elem.(*Photo)
tl_photo_slices_gen.go#L196: func (s PhotoClassArray) FillNotEmptyMap(to map[int64]*Photo) {
tl_photo_slices_gen.go#L207: func (s PhotoClassArray) NotEmptyToMap() map[int64]*Photo {
tl_photo_slices_gen.go#L208: r := make(map[int64]*Photo, len(s))
tl_photo_slices_gen.go#L215: func (s PhotoClassArray) AppendOnlyNotEmpty(to []*Photo) []*Photo {
tl_photo_slices_gen.go#L228: func (s PhotoClassArray) AsNotEmpty() (to []*Photo) {
tl_photo_slices_gen.go#L233: func (s PhotoClassArray) FirstAsNotEmpty() (v *Photo, ok bool) {
tl_photo_slices_gen.go#L242: func (s PhotoClassArray) LastAsNotEmpty() (v *Photo, ok bool) {
tl_photo_slices_gen.go#L251: func (s *PhotoClassArray) PopFirstAsNotEmpty() (v *Photo, ok bool) {
tl_photo_slices_gen.go#L260: func (s *PhotoClassArray) PopAsNotEmpty() (v *Photo, ok bool) {
tl_photo_slices_gen.go#L379: type PhotoArray []Photo
tl_photo_slices_gen.go#L382: func (s PhotoArray) Sort(less func(a, b Photo) bool) PhotoArray {
tl_photo_slices_gen.go#L390: func (s PhotoArray) SortStable(less func(a, b Photo) bool) PhotoArray {
tl_photo_slices_gen.go#L398: func (s PhotoArray) Retain(keep func(x Photo) bool) PhotoArray {
tl_photo_slices_gen.go#L412: func (s PhotoArray) First() (v Photo, ok bool) {
tl_photo_slices_gen.go#L420: func (s PhotoArray) Last() (v Photo, ok bool) {
tl_photo_slices_gen.go#L428: func (s *PhotoArray) PopFirst() (v Photo, ok bool) {
tl_photo_slices_gen.go#L438: var zero Photo
tl_photo_slices_gen.go#L447: func (s *PhotoArray) Pop() (v Photo, ok bool) {
tl_photo_slices_gen.go#L462: return s.Sort(func(a, b Photo) bool {
tl_photo_slices_gen.go#L469: return s.SortStable(func(a, b Photo) bool {
tl_photo_slices_gen.go#L476: return s.Sort(func(a, b Photo) bool {
tl_photo_slices_gen.go#L483: return s.SortStable(func(a, b Photo) bool {
tl_photo_slices_gen.go#L489: func (s PhotoArray) FillMap(to map[int64]Photo) {
tl_photo_slices_gen.go#L496: func (s PhotoArray) ToMap() map[int64]Photo {
tl_photo_slices_gen.go#L497: r := make(map[int64]Photo, len(s))
tl_photos_photo_gen.go#L215: func (p *PhotosPhoto) GetPhotoAsNotEmpty() (*Photo, bool) {
tl_registry_gen.go#L3757: PhotoTypeID: func() bin.Object { return &Photo{} },
tl_sponsored_web_page_gen.go#L267: func (s *SponsoredWebPage) GetPhotoAsNotEmpty() (*Photo, bool) {
tl_user_full_gen.go#L1450: func (u *UserFull) GetPersonalPhotoAsNotEmpty() (*Photo, bool) {
tl_user_full_gen.go#L1459: func (u *UserFull) GetProfilePhotoAsNotEmpty() (*Photo, bool) {
tl_user_full_gen.go#L1468: func (u *UserFull) GetFallbackPhotoAsNotEmpty() (*Photo, bool) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |