definitions

package
v0.0.0-...-0759df3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contact

type Contact struct {
	FromID     uint64 `json:"fromID"`
	ToID       uint64 `json:"toID"`
	ToPlatform string `json:"toPlatform"`
	ToName     string `json:"toName"`
}

type MessageStruct

type MessageStruct struct {
	SenderID         uint64
	SenderName       string
	MessageContent   string
	AttachmentsLinks []string
}

type SocketStruct

type SocketStruct struct {
	TelegramSession *tgbotapi.BotAPI
	TelegramMessage tgbotapi.Update
	DiscordSession  *discordgo.Session
	DiscordMessage  *discordgo.MessageCreate
}
var Socket SocketStruct

Jump to

Keyboard shortcuts

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