github.com/gotd/td/tg.RichButtonStyle.Flags (field)
28 uses
github.com/gotd/td/tg (current package)
tl_rich_button_style_gen.go#L39: Flags bin.Fields
tl_rich_button_style_gen.go#L65: if !(r.Flags.Zero()) {
tl_rich_button_style_gen.go#L132: Null: !r.Flags.Has(0),
tl_rich_button_style_gen.go#L137: Null: !r.Flags.Has(1),
tl_rich_button_style_gen.go#L142: Null: !r.Flags.Has(2),
tl_rich_button_style_gen.go#L147: Null: !r.Flags.Has(3),
tl_rich_button_style_gen.go#L156: r.Flags.Set(0)
tl_rich_button_style_gen.go#L159: r.Flags.Set(1)
tl_rich_button_style_gen.go#L162: r.Flags.Set(2)
tl_rich_button_style_gen.go#L165: r.Flags.Set(3)
tl_rich_button_style_gen.go#L184: if err := r.Flags.Encode(b); err != nil {
tl_rich_button_style_gen.go#L207: if err := r.Flags.Decode(b); err != nil {
tl_rich_button_style_gen.go#L211: r.BgPrimary = r.Flags.Has(0)
tl_rich_button_style_gen.go#L212: r.BgDanger = r.Flags.Has(1)
tl_rich_button_style_gen.go#L213: r.BgSuccess = r.Flags.Has(2)
tl_rich_button_style_gen.go#L214: r.Link = r.Flags.Has(3)
tl_rich_button_style_gen.go#L221: r.Flags.Set(0)
tl_rich_button_style_gen.go#L224: r.Flags.Unset(0)
tl_rich_button_style_gen.go#L234: return r.Flags.Has(0)
tl_rich_button_style_gen.go#L240: r.Flags.Set(1)
tl_rich_button_style_gen.go#L243: r.Flags.Unset(1)
tl_rich_button_style_gen.go#L253: return r.Flags.Has(1)
tl_rich_button_style_gen.go#L259: r.Flags.Set(2)
tl_rich_button_style_gen.go#L262: r.Flags.Unset(2)
tl_rich_button_style_gen.go#L272: return r.Flags.Has(2)
tl_rich_button_style_gen.go#L278: r.Flags.Set(3)
tl_rich_button_style_gen.go#L281: r.Flags.Unset(3)
tl_rich_button_style_gen.go#L291: return r.Flags.Has(3)
![]() |
The pages are generated with Golds v0.8.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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |