jsonStruct

package
v0.0.0-...-ab51599 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Reconstruction of https://core.telegram.org/schema/json

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constructor

type Constructor struct {
	Id        string   `json:"id"`
	Predicate string   `json:"predicate"`
	Params    []*Param `json:"params"`
	Type      string   `json:"type"`
}

type Method

type Method struct {
	Id     string   `json:"id"`
	Method string   `json:"method"`
	Params []*Param `json:"params"`
	Type   string   `json:"type"`
}

type Param

type Param struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

type Schema

type Schema struct {
	Constructors []*Constructor `json:"constructors"`
	Methods      []*Method      `json:"methods"`
}

Jump to

Keyboard shortcuts

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