Documentation
¶
Index ¶
- func NewApp(tokenAddress string, amount int, logo string)
- func ParseNewToken(message *tg.Message) (*dapp.NewTokenEvent, bool)
- func ParseRaydium(message *tg.Message) (*dapp.NewRaydiumPool, bool)
- type Client
- func (client *Client) GetReplyWithSocialMediasAndTradingBots(address string, meta *dapp.TokenMetadata) *tele.ReplyMarkup
- func (client *Client) HandleDexScreenerEvent(dexScreenerEvent *dapp.DSNewPair, errChan chan error)
- func (client *Client) HandleKOTHEvent(newKOTHEvent *NewKOTHEvent, errChan chan error)
- func (client *Client) HandleRaydiumEvent(raydiumEvent *dapp.NewRaydiumPool, errChan chan error)
- func (client *Client) HandleSubscribeEvent(subscribeEvent *dapp.NewTokenEvent, errChan chan error)
- func (client *Client) ListenForTelegramUpdates(errChan chan error, dexscreener chan *dapp.DSNewPair, ...)
- func (client *Client) SendMainMenuToUser(ctx tele.Context) error
- func (client *Client) StartSubscribingForDexScreener(ctx tele.Context) error
- func (client *Client) StartSubscribingForKOTH(ctx tele.Context) error
- func (client *Client) StartSubscribingForNewToken(ctx tele.Context) error
- func (client *Client) StartSubscribingForRaydium(ctx tele.Context) error
- func (client *Client) StopDexScreenerSignal(ctx tele.Context) error
- func (client *Client) StopKOTHSignal(ctx tele.Context) error
- func (client *Client) StopNewTokensSignal(ctx tele.Context) error
- func (client *Client) StopRaydiumSignal(ctx tele.Context) error
- func (client *Client) Subscribe() error
- type MainMenuMessage
- type NewDexScreenerEventMessage
- type NewKOTHEvent
- type NewKOTHMessage
- type NewRaydiumMessage
- type NewTokenEventMessage
- type Payload
- type PayloadNoKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNewToken ¶
func ParseNewToken(message *tg.Message) (*dapp.NewTokenEvent, bool)
func ParseRaydium ¶
func ParseRaydium(message *tg.Message) (*dapp.NewRaydiumPool, bool)
Types ¶
type Client ¶
func (*Client) GetReplyWithSocialMediasAndTradingBots ¶
func (client *Client) GetReplyWithSocialMediasAndTradingBots(address string, meta *dapp.TokenMetadata) *tele.ReplyMarkup
func (*Client) HandleDexScreenerEvent ¶
func (*Client) HandleKOTHEvent ¶
func (client *Client) HandleKOTHEvent(newKOTHEvent *NewKOTHEvent, errChan chan error)
func (*Client) HandleRaydiumEvent ¶
func (client *Client) HandleRaydiumEvent(raydiumEvent *dapp.NewRaydiumPool, errChan chan error)
func (*Client) HandleSubscribeEvent ¶
func (client *Client) HandleSubscribeEvent(subscribeEvent *dapp.NewTokenEvent, errChan chan error)
func (*Client) ListenForTelegramUpdates ¶
func (client *Client) ListenForTelegramUpdates(errChan chan error, dexscreener chan *dapp.DSNewPair, raydium chan *dapp.NewRaydiumPool, newTokenEvent chan *dapp.NewTokenEvent, newKOTHEvent chan *NewKOTHEvent)
func (*Client) SendMainMenuToUser ¶
func (*Client) StartSubscribingForDexScreener ¶
func (*Client) StartSubscribingForKOTH ¶
func (*Client) StartSubscribingForNewToken ¶
func (*Client) StartSubscribingForRaydium ¶
func (*Client) StopDexScreenerSignal ¶
func (*Client) StopNewTokensSignal ¶
type MainMenuMessage ¶
type NewKOTHEvent ¶
type NewKOTHEvent struct {
Name string
Date string
CA string
CreationDate string
MC string
Buys string
Sells string
}
func ParseNewKOTH ¶
func ParseNewKOTH(m *tg.Message) (*NewKOTHEvent, bool)
type NewKOTHMessage ¶
type NewKOTHMessage struct {
Ticker string
Description string
Backtick string
*NewKOTHEvent
}
type NewRaydiumMessage ¶
type NewRaydiumMessage struct {
Ticker string
Description string
Backtick string
*dapp.NewRaydiumPool
}
type NewTokenEventMessage ¶
type PayloadNoKey ¶
type PayloadNoKey struct {
Method string `json:"method"`
}
Click to show internal directories.
Click to hide internal directories.