conf

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMessageBuildHelper added in v0.90.0

func ToMessageBuildHelper(c []MessageEntityConfig, params map[string]interface{}) mtproto.MessageBuildHelper

Types

type MessageEntityConfig added in v0.90.0

type MessageEntityConfig struct {
	TextFormat     string   `json:",optional"`
	TextA          []string `json:",optional"`
	Param          string   `json:",optional"`
	EntityType     string   `json:",optional"`
	EntityUrl      string   `json:",optional"`
	EntityUserId   int64    `json:",optional"`
	EntityLanguage string   `json:",optional"`
}

func (*MessageEntityConfig) ToMessageBuildEntry added in v0.90.0

func (c *MessageEntityConfig) ToMessageBuildEntry(params map[string]interface{}) mtproto.MessageBuildEntry

type SmsVerifyCodeConfig

type SmsVerifyCodeConfig struct {
	Name          string
	SendCodeUrl   string
	VerifyCodeUrl string
	Key           string
	Secret        string
	RegionId      string
}

type WebrtcConfig

type WebrtcConfig struct {
	Turn     bool
	Stun     bool
	Ip       string
	Ipv6     string
	Port     int
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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