Documentation ¶
Index ¶
- func CompleteAuthentication(ctx context.Context, phoneNumber, code, phoneCodeHash, password string) (*tg.AuthAuthorization, error)
- func FetchChannelMessages(ctx context.Context, username string) ([]*tg.Message, error)
- func GetClient() (*telegram.Client, error)
- func ScrapeTelegramMessagesForSentiment(ctx context.Context, username string, model string, prompt string) (string, string, error)
- func StartAuthentication(ctx context.Context, phoneNumber string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteAuthentication ¶
func CompleteAuthentication(ctx context.Context, phoneNumber, code, phoneCodeHash, password string) (*tg.AuthAuthorization, error)
CompleteAuthentication uses the provided code to authenticate with Telegram. CompleteAuthentication uses the provided code to authenticate with Telegram.
func FetchChannelMessages ¶
FetchChannelMessages Fetch messages from a group
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.