package tg
import (
"context"
"errors"
"fmt"
"sort"
"strings"
"go.uber.org/multierr"
"github.com/gotd/td/bin"
"github.com/gotd/td/tdjson"
"github.com/gotd/td/tdp"
"github.com/gotd/td/tgerr"
)
var (
_ = bin .Buffer {}
_ = context .Background ()
_ = fmt .Stringer (nil )
_ = strings .Builder {}
_ = errors .Is
_ = multierr .AppendInto
_ = sort .Ints
_ = tdp .Format
_ = tgerr .Error {}
_ = tdjson .Encoder {}
)
type MessageActionClassArray []MessageActionClass
func (s MessageActionClassArray ) Sort (less func (a , b MessageActionClass ) bool ) MessageActionClassArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionClassArray ) SortStable (less func (a , b MessageActionClass ) bool ) MessageActionClassArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionClassArray ) Retain (keep func (x MessageActionClass ) bool ) MessageActionClassArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionClassArray ) First () (v MessageActionClass , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionClassArray ) Last () (v MessageActionClass , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionClassArray ) PopFirst () (v MessageActionClass , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionClass
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionClassArray ) Pop () (v MessageActionClass , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s MessageActionClassArray ) AsMessageActionChatCreate () (to MessageActionChatCreateArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChatCreate )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChatEditTitle () (to MessageActionChatEditTitleArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChatEditTitle )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChatEditPhoto () (to MessageActionChatEditPhotoArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChatEditPhoto )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChatAddUser () (to MessageActionChatAddUserArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChatAddUser )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChatDeleteUser () (to MessageActionChatDeleteUserArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChatDeleteUser )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChatJoinedByLink () (to MessageActionChatJoinedByLinkArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChatJoinedByLink )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChannelCreate () (to MessageActionChannelCreateArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChannelCreate )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChatMigrateTo () (to MessageActionChatMigrateToArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChatMigrateTo )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionChannelMigrateFrom () (to MessageActionChannelMigrateFromArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionChannelMigrateFrom )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionGameScore () (to MessageActionGameScoreArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionGameScore )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionPaymentSentMe () (to MessageActionPaymentSentMeArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionPaymentSentMe )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionPaymentSent () (to MessageActionPaymentSentArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionPaymentSent )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionPhoneCall () (to MessageActionPhoneCallArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionPhoneCall )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionCustomAction () (to MessageActionCustomActionArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionCustomAction )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionBotAllowed () (to MessageActionBotAllowedArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionBotAllowed )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionSecureValuesSentMe () (to MessageActionSecureValuesSentMeArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionSecureValuesSentMe )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionSecureValuesSent () (to MessageActionSecureValuesSentArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionSecureValuesSent )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionGeoProximityReached () (to MessageActionGeoProximityReachedArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionGeoProximityReached )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionGroupCall () (to MessageActionGroupCallArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionGroupCall )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionInviteToGroupCall () (to MessageActionInviteToGroupCallArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionInviteToGroupCall )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionSetMessagesTTL () (to MessageActionSetMessagesTTLArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionSetMessagesTTL )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionGroupCallScheduled () (to MessageActionGroupCallScheduledArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionGroupCallScheduled )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionSetChatTheme () (to MessageActionSetChatThemeArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionSetChatTheme )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionWebViewDataSentMe () (to MessageActionWebViewDataSentMeArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionWebViewDataSentMe )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionWebViewDataSent () (to MessageActionWebViewDataSentArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionWebViewDataSent )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionGiftPremium () (to MessageActionGiftPremiumArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionGiftPremium )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionTopicCreate () (to MessageActionTopicCreateArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionTopicCreate )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionTopicEdit () (to MessageActionTopicEditArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionTopicEdit )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionSuggestProfilePhoto () (to MessageActionSuggestProfilePhotoArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionSuggestProfilePhoto )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionRequestedPeer () (to MessageActionRequestedPeerArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionRequestedPeer )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionSetChatWallPaper () (to MessageActionSetChatWallPaperArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionSetChatWallPaper )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionGiftCode () (to MessageActionGiftCodeArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionGiftCode )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
func (s MessageActionClassArray ) AsMessageActionGiveawayResults () (to MessageActionGiveawayResultsArray ) {
for _ , elem := range s {
value , ok := elem .(*MessageActionGiveawayResults )
if !ok {
continue
}
to = append (to , *value )
}
return to
}
type MessageActionChatCreateArray []MessageActionChatCreate
func (s MessageActionChatCreateArray ) Sort (less func (a , b MessageActionChatCreate ) bool ) MessageActionChatCreateArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatCreateArray ) SortStable (less func (a , b MessageActionChatCreate ) bool ) MessageActionChatCreateArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatCreateArray ) Retain (keep func (x MessageActionChatCreate ) bool ) MessageActionChatCreateArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChatCreateArray ) First () (v MessageActionChatCreate , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChatCreateArray ) Last () (v MessageActionChatCreate , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChatCreateArray ) PopFirst () (v MessageActionChatCreate , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChatCreate
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChatCreateArray ) Pop () (v MessageActionChatCreate , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChatEditTitleArray []MessageActionChatEditTitle
func (s MessageActionChatEditTitleArray ) Sort (less func (a , b MessageActionChatEditTitle ) bool ) MessageActionChatEditTitleArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatEditTitleArray ) SortStable (less func (a , b MessageActionChatEditTitle ) bool ) MessageActionChatEditTitleArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatEditTitleArray ) Retain (keep func (x MessageActionChatEditTitle ) bool ) MessageActionChatEditTitleArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChatEditTitleArray ) First () (v MessageActionChatEditTitle , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChatEditTitleArray ) Last () (v MessageActionChatEditTitle , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChatEditTitleArray ) PopFirst () (v MessageActionChatEditTitle , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChatEditTitle
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChatEditTitleArray ) Pop () (v MessageActionChatEditTitle , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChatEditPhotoArray []MessageActionChatEditPhoto
func (s MessageActionChatEditPhotoArray ) Sort (less func (a , b MessageActionChatEditPhoto ) bool ) MessageActionChatEditPhotoArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatEditPhotoArray ) SortStable (less func (a , b MessageActionChatEditPhoto ) bool ) MessageActionChatEditPhotoArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatEditPhotoArray ) Retain (keep func (x MessageActionChatEditPhoto ) bool ) MessageActionChatEditPhotoArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChatEditPhotoArray ) First () (v MessageActionChatEditPhoto , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChatEditPhotoArray ) Last () (v MessageActionChatEditPhoto , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChatEditPhotoArray ) PopFirst () (v MessageActionChatEditPhoto , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChatEditPhoto
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChatEditPhotoArray ) Pop () (v MessageActionChatEditPhoto , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChatAddUserArray []MessageActionChatAddUser
func (s MessageActionChatAddUserArray ) Sort (less func (a , b MessageActionChatAddUser ) bool ) MessageActionChatAddUserArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatAddUserArray ) SortStable (less func (a , b MessageActionChatAddUser ) bool ) MessageActionChatAddUserArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatAddUserArray ) Retain (keep func (x MessageActionChatAddUser ) bool ) MessageActionChatAddUserArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChatAddUserArray ) First () (v MessageActionChatAddUser , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChatAddUserArray ) Last () (v MessageActionChatAddUser , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChatAddUserArray ) PopFirst () (v MessageActionChatAddUser , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChatAddUser
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChatAddUserArray ) Pop () (v MessageActionChatAddUser , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChatDeleteUserArray []MessageActionChatDeleteUser
func (s MessageActionChatDeleteUserArray ) Sort (less func (a , b MessageActionChatDeleteUser ) bool ) MessageActionChatDeleteUserArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatDeleteUserArray ) SortStable (less func (a , b MessageActionChatDeleteUser ) bool ) MessageActionChatDeleteUserArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatDeleteUserArray ) Retain (keep func (x MessageActionChatDeleteUser ) bool ) MessageActionChatDeleteUserArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChatDeleteUserArray ) First () (v MessageActionChatDeleteUser , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChatDeleteUserArray ) Last () (v MessageActionChatDeleteUser , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChatDeleteUserArray ) PopFirst () (v MessageActionChatDeleteUser , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChatDeleteUser
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChatDeleteUserArray ) Pop () (v MessageActionChatDeleteUser , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChatJoinedByLinkArray []MessageActionChatJoinedByLink
func (s MessageActionChatJoinedByLinkArray ) Sort (less func (a , b MessageActionChatJoinedByLink ) bool ) MessageActionChatJoinedByLinkArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatJoinedByLinkArray ) SortStable (less func (a , b MessageActionChatJoinedByLink ) bool ) MessageActionChatJoinedByLinkArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatJoinedByLinkArray ) Retain (keep func (x MessageActionChatJoinedByLink ) bool ) MessageActionChatJoinedByLinkArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChatJoinedByLinkArray ) First () (v MessageActionChatJoinedByLink , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChatJoinedByLinkArray ) Last () (v MessageActionChatJoinedByLink , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChatJoinedByLinkArray ) PopFirst () (v MessageActionChatJoinedByLink , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChatJoinedByLink
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChatJoinedByLinkArray ) Pop () (v MessageActionChatJoinedByLink , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChannelCreateArray []MessageActionChannelCreate
func (s MessageActionChannelCreateArray ) Sort (less func (a , b MessageActionChannelCreate ) bool ) MessageActionChannelCreateArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChannelCreateArray ) SortStable (less func (a , b MessageActionChannelCreate ) bool ) MessageActionChannelCreateArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChannelCreateArray ) Retain (keep func (x MessageActionChannelCreate ) bool ) MessageActionChannelCreateArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChannelCreateArray ) First () (v MessageActionChannelCreate , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChannelCreateArray ) Last () (v MessageActionChannelCreate , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChannelCreateArray ) PopFirst () (v MessageActionChannelCreate , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChannelCreate
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChannelCreateArray ) Pop () (v MessageActionChannelCreate , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChatMigrateToArray []MessageActionChatMigrateTo
func (s MessageActionChatMigrateToArray ) Sort (less func (a , b MessageActionChatMigrateTo ) bool ) MessageActionChatMigrateToArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatMigrateToArray ) SortStable (less func (a , b MessageActionChatMigrateTo ) bool ) MessageActionChatMigrateToArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChatMigrateToArray ) Retain (keep func (x MessageActionChatMigrateTo ) bool ) MessageActionChatMigrateToArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChatMigrateToArray ) First () (v MessageActionChatMigrateTo , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChatMigrateToArray ) Last () (v MessageActionChatMigrateTo , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChatMigrateToArray ) PopFirst () (v MessageActionChatMigrateTo , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChatMigrateTo
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChatMigrateToArray ) Pop () (v MessageActionChatMigrateTo , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionChannelMigrateFromArray []MessageActionChannelMigrateFrom
func (s MessageActionChannelMigrateFromArray ) Sort (less func (a , b MessageActionChannelMigrateFrom ) bool ) MessageActionChannelMigrateFromArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChannelMigrateFromArray ) SortStable (less func (a , b MessageActionChannelMigrateFrom ) bool ) MessageActionChannelMigrateFromArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionChannelMigrateFromArray ) Retain (keep func (x MessageActionChannelMigrateFrom ) bool ) MessageActionChannelMigrateFromArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionChannelMigrateFromArray ) First () (v MessageActionChannelMigrateFrom , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionChannelMigrateFromArray ) Last () (v MessageActionChannelMigrateFrom , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionChannelMigrateFromArray ) PopFirst () (v MessageActionChannelMigrateFrom , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionChannelMigrateFrom
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionChannelMigrateFromArray ) Pop () (v MessageActionChannelMigrateFrom , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionGameScoreArray []MessageActionGameScore
func (s MessageActionGameScoreArray ) Sort (less func (a , b MessageActionGameScore ) bool ) MessageActionGameScoreArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGameScoreArray ) SortStable (less func (a , b MessageActionGameScore ) bool ) MessageActionGameScoreArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGameScoreArray ) Retain (keep func (x MessageActionGameScore ) bool ) MessageActionGameScoreArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionGameScoreArray ) First () (v MessageActionGameScore , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionGameScoreArray ) Last () (v MessageActionGameScore , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionGameScoreArray ) PopFirst () (v MessageActionGameScore , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionGameScore
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionGameScoreArray ) Pop () (v MessageActionGameScore , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionPaymentSentMeArray []MessageActionPaymentSentMe
func (s MessageActionPaymentSentMeArray ) Sort (less func (a , b MessageActionPaymentSentMe ) bool ) MessageActionPaymentSentMeArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionPaymentSentMeArray ) SortStable (less func (a , b MessageActionPaymentSentMe ) bool ) MessageActionPaymentSentMeArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionPaymentSentMeArray ) Retain (keep func (x MessageActionPaymentSentMe ) bool ) MessageActionPaymentSentMeArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionPaymentSentMeArray ) First () (v MessageActionPaymentSentMe , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionPaymentSentMeArray ) Last () (v MessageActionPaymentSentMe , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionPaymentSentMeArray ) PopFirst () (v MessageActionPaymentSentMe , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionPaymentSentMe
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionPaymentSentMeArray ) Pop () (v MessageActionPaymentSentMe , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionPaymentSentArray []MessageActionPaymentSent
func (s MessageActionPaymentSentArray ) Sort (less func (a , b MessageActionPaymentSent ) bool ) MessageActionPaymentSentArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionPaymentSentArray ) SortStable (less func (a , b MessageActionPaymentSent ) bool ) MessageActionPaymentSentArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionPaymentSentArray ) Retain (keep func (x MessageActionPaymentSent ) bool ) MessageActionPaymentSentArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionPaymentSentArray ) First () (v MessageActionPaymentSent , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionPaymentSentArray ) Last () (v MessageActionPaymentSent , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionPaymentSentArray ) PopFirst () (v MessageActionPaymentSent , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionPaymentSent
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionPaymentSentArray ) Pop () (v MessageActionPaymentSent , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionPhoneCallArray []MessageActionPhoneCall
func (s MessageActionPhoneCallArray ) Sort (less func (a , b MessageActionPhoneCall ) bool ) MessageActionPhoneCallArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionPhoneCallArray ) SortStable (less func (a , b MessageActionPhoneCall ) bool ) MessageActionPhoneCallArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionPhoneCallArray ) Retain (keep func (x MessageActionPhoneCall ) bool ) MessageActionPhoneCallArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionPhoneCallArray ) First () (v MessageActionPhoneCall , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionPhoneCallArray ) Last () (v MessageActionPhoneCall , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionPhoneCallArray ) PopFirst () (v MessageActionPhoneCall , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionPhoneCall
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionPhoneCallArray ) Pop () (v MessageActionPhoneCall , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionCustomActionArray []MessageActionCustomAction
func (s MessageActionCustomActionArray ) Sort (less func (a , b MessageActionCustomAction ) bool ) MessageActionCustomActionArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionCustomActionArray ) SortStable (less func (a , b MessageActionCustomAction ) bool ) MessageActionCustomActionArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionCustomActionArray ) Retain (keep func (x MessageActionCustomAction ) bool ) MessageActionCustomActionArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionCustomActionArray ) First () (v MessageActionCustomAction , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionCustomActionArray ) Last () (v MessageActionCustomAction , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionCustomActionArray ) PopFirst () (v MessageActionCustomAction , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionCustomAction
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionCustomActionArray ) Pop () (v MessageActionCustomAction , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionBotAllowedArray []MessageActionBotAllowed
func (s MessageActionBotAllowedArray ) Sort (less func (a , b MessageActionBotAllowed ) bool ) MessageActionBotAllowedArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionBotAllowedArray ) SortStable (less func (a , b MessageActionBotAllowed ) bool ) MessageActionBotAllowedArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionBotAllowedArray ) Retain (keep func (x MessageActionBotAllowed ) bool ) MessageActionBotAllowedArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionBotAllowedArray ) First () (v MessageActionBotAllowed , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionBotAllowedArray ) Last () (v MessageActionBotAllowed , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionBotAllowedArray ) PopFirst () (v MessageActionBotAllowed , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionBotAllowed
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionBotAllowedArray ) Pop () (v MessageActionBotAllowed , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionSecureValuesSentMeArray []MessageActionSecureValuesSentMe
func (s MessageActionSecureValuesSentMeArray ) Sort (less func (a , b MessageActionSecureValuesSentMe ) bool ) MessageActionSecureValuesSentMeArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSecureValuesSentMeArray ) SortStable (less func (a , b MessageActionSecureValuesSentMe ) bool ) MessageActionSecureValuesSentMeArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSecureValuesSentMeArray ) Retain (keep func (x MessageActionSecureValuesSentMe ) bool ) MessageActionSecureValuesSentMeArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionSecureValuesSentMeArray ) First () (v MessageActionSecureValuesSentMe , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionSecureValuesSentMeArray ) Last () (v MessageActionSecureValuesSentMe , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionSecureValuesSentMeArray ) PopFirst () (v MessageActionSecureValuesSentMe , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionSecureValuesSentMe
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionSecureValuesSentMeArray ) Pop () (v MessageActionSecureValuesSentMe , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionSecureValuesSentArray []MessageActionSecureValuesSent
func (s MessageActionSecureValuesSentArray ) Sort (less func (a , b MessageActionSecureValuesSent ) bool ) MessageActionSecureValuesSentArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSecureValuesSentArray ) SortStable (less func (a , b MessageActionSecureValuesSent ) bool ) MessageActionSecureValuesSentArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSecureValuesSentArray ) Retain (keep func (x MessageActionSecureValuesSent ) bool ) MessageActionSecureValuesSentArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionSecureValuesSentArray ) First () (v MessageActionSecureValuesSent , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionSecureValuesSentArray ) Last () (v MessageActionSecureValuesSent , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionSecureValuesSentArray ) PopFirst () (v MessageActionSecureValuesSent , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionSecureValuesSent
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionSecureValuesSentArray ) Pop () (v MessageActionSecureValuesSent , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionGeoProximityReachedArray []MessageActionGeoProximityReached
func (s MessageActionGeoProximityReachedArray ) Sort (less func (a , b MessageActionGeoProximityReached ) bool ) MessageActionGeoProximityReachedArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGeoProximityReachedArray ) SortStable (less func (a , b MessageActionGeoProximityReached ) bool ) MessageActionGeoProximityReachedArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGeoProximityReachedArray ) Retain (keep func (x MessageActionGeoProximityReached ) bool ) MessageActionGeoProximityReachedArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionGeoProximityReachedArray ) First () (v MessageActionGeoProximityReached , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionGeoProximityReachedArray ) Last () (v MessageActionGeoProximityReached , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionGeoProximityReachedArray ) PopFirst () (v MessageActionGeoProximityReached , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionGeoProximityReached
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionGeoProximityReachedArray ) Pop () (v MessageActionGeoProximityReached , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionGroupCallArray []MessageActionGroupCall
func (s MessageActionGroupCallArray ) Sort (less func (a , b MessageActionGroupCall ) bool ) MessageActionGroupCallArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGroupCallArray ) SortStable (less func (a , b MessageActionGroupCall ) bool ) MessageActionGroupCallArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGroupCallArray ) Retain (keep func (x MessageActionGroupCall ) bool ) MessageActionGroupCallArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionGroupCallArray ) First () (v MessageActionGroupCall , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionGroupCallArray ) Last () (v MessageActionGroupCall , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionGroupCallArray ) PopFirst () (v MessageActionGroupCall , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionGroupCall
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionGroupCallArray ) Pop () (v MessageActionGroupCall , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionInviteToGroupCallArray []MessageActionInviteToGroupCall
func (s MessageActionInviteToGroupCallArray ) Sort (less func (a , b MessageActionInviteToGroupCall ) bool ) MessageActionInviteToGroupCallArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionInviteToGroupCallArray ) SortStable (less func (a , b MessageActionInviteToGroupCall ) bool ) MessageActionInviteToGroupCallArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionInviteToGroupCallArray ) Retain (keep func (x MessageActionInviteToGroupCall ) bool ) MessageActionInviteToGroupCallArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionInviteToGroupCallArray ) First () (v MessageActionInviteToGroupCall , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionInviteToGroupCallArray ) Last () (v MessageActionInviteToGroupCall , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionInviteToGroupCallArray ) PopFirst () (v MessageActionInviteToGroupCall , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionInviteToGroupCall
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionInviteToGroupCallArray ) Pop () (v MessageActionInviteToGroupCall , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionSetMessagesTTLArray []MessageActionSetMessagesTTL
func (s MessageActionSetMessagesTTLArray ) Sort (less func (a , b MessageActionSetMessagesTTL ) bool ) MessageActionSetMessagesTTLArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSetMessagesTTLArray ) SortStable (less func (a , b MessageActionSetMessagesTTL ) bool ) MessageActionSetMessagesTTLArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSetMessagesTTLArray ) Retain (keep func (x MessageActionSetMessagesTTL ) bool ) MessageActionSetMessagesTTLArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionSetMessagesTTLArray ) First () (v MessageActionSetMessagesTTL , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionSetMessagesTTLArray ) Last () (v MessageActionSetMessagesTTL , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionSetMessagesTTLArray ) PopFirst () (v MessageActionSetMessagesTTL , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionSetMessagesTTL
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionSetMessagesTTLArray ) Pop () (v MessageActionSetMessagesTTL , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionGroupCallScheduledArray []MessageActionGroupCallScheduled
func (s MessageActionGroupCallScheduledArray ) Sort (less func (a , b MessageActionGroupCallScheduled ) bool ) MessageActionGroupCallScheduledArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGroupCallScheduledArray ) SortStable (less func (a , b MessageActionGroupCallScheduled ) bool ) MessageActionGroupCallScheduledArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGroupCallScheduledArray ) Retain (keep func (x MessageActionGroupCallScheduled ) bool ) MessageActionGroupCallScheduledArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionGroupCallScheduledArray ) First () (v MessageActionGroupCallScheduled , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionGroupCallScheduledArray ) Last () (v MessageActionGroupCallScheduled , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionGroupCallScheduledArray ) PopFirst () (v MessageActionGroupCallScheduled , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionGroupCallScheduled
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionGroupCallScheduledArray ) Pop () (v MessageActionGroupCallScheduled , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionSetChatThemeArray []MessageActionSetChatTheme
func (s MessageActionSetChatThemeArray ) Sort (less func (a , b MessageActionSetChatTheme ) bool ) MessageActionSetChatThemeArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSetChatThemeArray ) SortStable (less func (a , b MessageActionSetChatTheme ) bool ) MessageActionSetChatThemeArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSetChatThemeArray ) Retain (keep func (x MessageActionSetChatTheme ) bool ) MessageActionSetChatThemeArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionSetChatThemeArray ) First () (v MessageActionSetChatTheme , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionSetChatThemeArray ) Last () (v MessageActionSetChatTheme , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionSetChatThemeArray ) PopFirst () (v MessageActionSetChatTheme , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionSetChatTheme
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionSetChatThemeArray ) Pop () (v MessageActionSetChatTheme , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionWebViewDataSentMeArray []MessageActionWebViewDataSentMe
func (s MessageActionWebViewDataSentMeArray ) Sort (less func (a , b MessageActionWebViewDataSentMe ) bool ) MessageActionWebViewDataSentMeArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionWebViewDataSentMeArray ) SortStable (less func (a , b MessageActionWebViewDataSentMe ) bool ) MessageActionWebViewDataSentMeArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionWebViewDataSentMeArray ) Retain (keep func (x MessageActionWebViewDataSentMe ) bool ) MessageActionWebViewDataSentMeArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionWebViewDataSentMeArray ) First () (v MessageActionWebViewDataSentMe , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionWebViewDataSentMeArray ) Last () (v MessageActionWebViewDataSentMe , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionWebViewDataSentMeArray ) PopFirst () (v MessageActionWebViewDataSentMe , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionWebViewDataSentMe
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionWebViewDataSentMeArray ) Pop () (v MessageActionWebViewDataSentMe , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionWebViewDataSentArray []MessageActionWebViewDataSent
func (s MessageActionWebViewDataSentArray ) Sort (less func (a , b MessageActionWebViewDataSent ) bool ) MessageActionWebViewDataSentArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionWebViewDataSentArray ) SortStable (less func (a , b MessageActionWebViewDataSent ) bool ) MessageActionWebViewDataSentArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionWebViewDataSentArray ) Retain (keep func (x MessageActionWebViewDataSent ) bool ) MessageActionWebViewDataSentArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionWebViewDataSentArray ) First () (v MessageActionWebViewDataSent , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionWebViewDataSentArray ) Last () (v MessageActionWebViewDataSent , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionWebViewDataSentArray ) PopFirst () (v MessageActionWebViewDataSent , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionWebViewDataSent
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionWebViewDataSentArray ) Pop () (v MessageActionWebViewDataSent , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionGiftPremiumArray []MessageActionGiftPremium
func (s MessageActionGiftPremiumArray ) Sort (less func (a , b MessageActionGiftPremium ) bool ) MessageActionGiftPremiumArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGiftPremiumArray ) SortStable (less func (a , b MessageActionGiftPremium ) bool ) MessageActionGiftPremiumArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGiftPremiumArray ) Retain (keep func (x MessageActionGiftPremium ) bool ) MessageActionGiftPremiumArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionGiftPremiumArray ) First () (v MessageActionGiftPremium , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionGiftPremiumArray ) Last () (v MessageActionGiftPremium , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionGiftPremiumArray ) PopFirst () (v MessageActionGiftPremium , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionGiftPremium
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionGiftPremiumArray ) Pop () (v MessageActionGiftPremium , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionTopicCreateArray []MessageActionTopicCreate
func (s MessageActionTopicCreateArray ) Sort (less func (a , b MessageActionTopicCreate ) bool ) MessageActionTopicCreateArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionTopicCreateArray ) SortStable (less func (a , b MessageActionTopicCreate ) bool ) MessageActionTopicCreateArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionTopicCreateArray ) Retain (keep func (x MessageActionTopicCreate ) bool ) MessageActionTopicCreateArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionTopicCreateArray ) First () (v MessageActionTopicCreate , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionTopicCreateArray ) Last () (v MessageActionTopicCreate , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionTopicCreateArray ) PopFirst () (v MessageActionTopicCreate , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionTopicCreate
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionTopicCreateArray ) Pop () (v MessageActionTopicCreate , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionTopicEditArray []MessageActionTopicEdit
func (s MessageActionTopicEditArray ) Sort (less func (a , b MessageActionTopicEdit ) bool ) MessageActionTopicEditArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionTopicEditArray ) SortStable (less func (a , b MessageActionTopicEdit ) bool ) MessageActionTopicEditArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionTopicEditArray ) Retain (keep func (x MessageActionTopicEdit ) bool ) MessageActionTopicEditArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionTopicEditArray ) First () (v MessageActionTopicEdit , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionTopicEditArray ) Last () (v MessageActionTopicEdit , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionTopicEditArray ) PopFirst () (v MessageActionTopicEdit , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionTopicEdit
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionTopicEditArray ) Pop () (v MessageActionTopicEdit , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionSuggestProfilePhotoArray []MessageActionSuggestProfilePhoto
func (s MessageActionSuggestProfilePhotoArray ) Sort (less func (a , b MessageActionSuggestProfilePhoto ) bool ) MessageActionSuggestProfilePhotoArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSuggestProfilePhotoArray ) SortStable (less func (a , b MessageActionSuggestProfilePhoto ) bool ) MessageActionSuggestProfilePhotoArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSuggestProfilePhotoArray ) Retain (keep func (x MessageActionSuggestProfilePhoto ) bool ) MessageActionSuggestProfilePhotoArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionSuggestProfilePhotoArray ) First () (v MessageActionSuggestProfilePhoto , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionSuggestProfilePhotoArray ) Last () (v MessageActionSuggestProfilePhoto , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionSuggestProfilePhotoArray ) PopFirst () (v MessageActionSuggestProfilePhoto , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionSuggestProfilePhoto
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionSuggestProfilePhotoArray ) Pop () (v MessageActionSuggestProfilePhoto , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionRequestedPeerArray []MessageActionRequestedPeer
func (s MessageActionRequestedPeerArray ) Sort (less func (a , b MessageActionRequestedPeer ) bool ) MessageActionRequestedPeerArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionRequestedPeerArray ) SortStable (less func (a , b MessageActionRequestedPeer ) bool ) MessageActionRequestedPeerArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionRequestedPeerArray ) Retain (keep func (x MessageActionRequestedPeer ) bool ) MessageActionRequestedPeerArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionRequestedPeerArray ) First () (v MessageActionRequestedPeer , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionRequestedPeerArray ) Last () (v MessageActionRequestedPeer , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionRequestedPeerArray ) PopFirst () (v MessageActionRequestedPeer , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionRequestedPeer
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionRequestedPeerArray ) Pop () (v MessageActionRequestedPeer , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionSetChatWallPaperArray []MessageActionSetChatWallPaper
func (s MessageActionSetChatWallPaperArray ) Sort (less func (a , b MessageActionSetChatWallPaper ) bool ) MessageActionSetChatWallPaperArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSetChatWallPaperArray ) SortStable (less func (a , b MessageActionSetChatWallPaper ) bool ) MessageActionSetChatWallPaperArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionSetChatWallPaperArray ) Retain (keep func (x MessageActionSetChatWallPaper ) bool ) MessageActionSetChatWallPaperArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionSetChatWallPaperArray ) First () (v MessageActionSetChatWallPaper , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionSetChatWallPaperArray ) Last () (v MessageActionSetChatWallPaper , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionSetChatWallPaperArray ) PopFirst () (v MessageActionSetChatWallPaper , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionSetChatWallPaper
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionSetChatWallPaperArray ) Pop () (v MessageActionSetChatWallPaper , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionGiftCodeArray []MessageActionGiftCode
func (s MessageActionGiftCodeArray ) Sort (less func (a , b MessageActionGiftCode ) bool ) MessageActionGiftCodeArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGiftCodeArray ) SortStable (less func (a , b MessageActionGiftCode ) bool ) MessageActionGiftCodeArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGiftCodeArray ) Retain (keep func (x MessageActionGiftCode ) bool ) MessageActionGiftCodeArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionGiftCodeArray ) First () (v MessageActionGiftCode , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionGiftCodeArray ) Last () (v MessageActionGiftCode , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionGiftCodeArray ) PopFirst () (v MessageActionGiftCode , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionGiftCode
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionGiftCodeArray ) Pop () (v MessageActionGiftCode , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
type MessageActionGiveawayResultsArray []MessageActionGiveawayResults
func (s MessageActionGiveawayResultsArray ) Sort (less func (a , b MessageActionGiveawayResults ) bool ) MessageActionGiveawayResultsArray {
sort .Slice (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGiveawayResultsArray ) SortStable (less func (a , b MessageActionGiveawayResults ) bool ) MessageActionGiveawayResultsArray {
sort .SliceStable (s , func (i , j int ) bool {
return less (s [i ], s [j ])
})
return s
}
func (s MessageActionGiveawayResultsArray ) Retain (keep func (x MessageActionGiveawayResults ) bool ) MessageActionGiveawayResultsArray {
n := 0
for _ , x := range s {
if keep (x ) {
s [n ] = x
n ++
}
}
s = s [:n ]
return s
}
func (s MessageActionGiveawayResultsArray ) First () (v MessageActionGiveawayResults , ok bool ) {
if len (s ) < 1 {
return
}
return s [0 ], true
}
func (s MessageActionGiveawayResultsArray ) Last () (v MessageActionGiveawayResults , ok bool ) {
if len (s ) < 1 {
return
}
return s [len (s )-1 ], true
}
func (s *MessageActionGiveawayResultsArray ) PopFirst () (v MessageActionGiveawayResults , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [0 ]
copy (a [0 :], a [1 :])
var zero MessageActionGiveawayResults
a [len (a )-1 ] = zero
a = a [:len (a )-1 ]
*s = a
return v , true
}
func (s *MessageActionGiveawayResultsArray ) Pop () (v MessageActionGiveawayResults , ok bool ) {
if s == nil || len (*s ) < 1 {
return
}
a := *s
v = a [len (a )-1 ]
a = a [:len (a )-1 ]
*s = a
return v , true
}
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 .