parent
9e75ad4ebc
commit
def70aa4a8
|
@ -1,7 +1,7 @@
|
||||||
package puller
|
package puller
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/astravexton/go-tdlib/client"
|
"git.zio.sh/astra/go-tdlib/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ChatHistory(tdlibClient *client.Client, chatId int64) (chan *client.Message, chan error) {
|
func ChatHistory(tdlibClient *client.Client, chatId int64) (chan *client.Message, chan error) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package puller
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/astravexton/go-tdlib/client"
|
"git.zio.sh/astra/go-tdlib/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Chats(tdlibClient *client.Client) (chan *client.Chat, chan error) {
|
func Chats(tdlibClient *client.Client) (chan *client.Chat, chan error) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package puller
|
package puller
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/astravexton/go-tdlib/client"
|
"git.zio.sh/astra/go-tdlib/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SupergroupMembers(tdlibClient *client.Client, supergroupId int32) (chan *client.ChatMember, chan error) {
|
func SupergroupMembers(tdlibClient *client.Client, supergroupId int32) (chan *client.ChatMember, chan error) {
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/astravexton/go-tdlib/codegen"
|
"git.zio.sh/astra/go-tdlib/codegen"
|
||||||
"github.com/astravexton/go-tdlib/tlparser"
|
"git.zio.sh/astra/go-tdlib/tlparser"
|
||||||
)
|
)
|
||||||
|
|
||||||
type config struct {
|
type config struct {
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/astravexton/go-tdlib/tlparser"
|
"git.zio.sh/astra/go-tdlib/tlparser"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/astravexton/go-tdlib/tlparser"
|
"git.zio.sh/astra/go-tdlib/tlparser"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GenerateFunctions(schema *tlparser.Schema, packageName string) []byte {
|
func GenerateFunctions(schema *tlparser.Schema, packageName string) []byte {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/astravexton/go-tdlib/tlparser"
|
"git.zio.sh/astra/go-tdlib/tlparser"
|
||||||
)
|
)
|
||||||
|
|
||||||
type tdlibFunction struct {
|
type tdlibFunction struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/astravexton/go-tdlib/tlparser"
|
"git.zio.sh/astra/go-tdlib/tlparser"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GenerateTypes(schema *tlparser.Schema, packageName string) []byte {
|
func GenerateTypes(schema *tlparser.Schema, packageName string) []byte {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/astravexton/go-tdlib/tlparser"
|
"git.zio.sh/astra/go-tdlib/tlparser"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GenerateUnmarshalers(schema *tlparser.Schema, packageName string) []byte {
|
func GenerateUnmarshalers(schema *tlparser.Schema, packageName string) []byte {
|
||||||
|
|
Loading…
Reference in New Issue