Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShivangKakkar/Telegraph-Go-Bot
/ functions
Functions
48 in github.com/ShivangKakkar/Telegraph-Go-Bot
⨍
Functions
48
◇
Types & classes
2
↓ 10 callers
Function
getArgs
(ctx *ext.Context)
helpers.go:27
↓ 7 callers
Function
GetUser
(id int64)
database.go:53
↓ 6 callers
Function
getToken
(accountNumber string, b *gotgbot.Bot, ctx *ext.Context)
helpers.go:33
↓ 4 callers
Function
GetAllAccounts
func GetAccount(id int, token string) { }
database.go:93
↓ 3 callers
Function
editAccount
Edit Account using different values
helpers.go:57
↓ 2 callers
Function
AddAccount
(id int64, token string)
database.go:69
↓ 2 callers
Function
checkIfLengthy
(s string, b *gotgbot.Bot, ctx *ext.Context)
helpers.go:116
↓ 2 callers
Function
downloadFile
(fileId string, b *gotgbot.Bot)
upload.go:45
↓ 2 callers
Function
extractHTMLFromReply
(b *gotgbot.Bot, ctx *ext.Context)
helpers.go:146
↓ 2 callers
Function
getArgsCount
(ctx *ext.Context)
helpers.go:23
↓ 1 callers
Function
AddUser
(id int64)
database.go:36
↓ 1 callers
Function
GetAllUsers
Reset on new features [Not in Production] var _ = db.ResetModel(ctx, (*User)(nil))
database.go:27
↓ 1 callers
Function
RemoveAccount
(id int64, token string)
database.go:100
↓ 1 callers
Function
SetDefaultAccount
(id int64, token string)
database.go:80
↓ 1 callers
Function
UsersCount
()
database.go:117
↓ 1 callers
Function
getString
(ctx *ext.Context)
helpers.go:18
↓ 1 callers
Function
logTg
Logs to Telegram LOG_CHAT and prints to console
log.go:12
↓ 1 callers
Function
toImgTag
(a []Img)
helpers.go:138
↓ 1 callers
Function
uploadToTelegraph
Returns link to telegraph uploaded media or error as string. String because, users should know the error. Weird logic anyway
upload.go:65
Function
DeleteUser
(id int64)
database.go:44
Function
about
(b *gotgbot.Bot, ctx *ext.Context)
basics.go:39
Function
aboutCB
(b *gotgbot.Bot, ctx *ext.Context)
basics.go:203
Function
account
(b *gotgbot.Bot, ctx *ext.Context)
account.go:11
Function
addAccount
(b *gotgbot.Bot, ctx *ext.Context)
addAccount.go:11
Function
checkForDefaultAccount
(b *gotgbot.Bot, ctx *ext.Context)
preWorks.go:53
Function
directUploadCB
(b *gotgbot.Bot, ctx *ext.Context)
tempStates.go:25
Function
editAuthorName
(b *gotgbot.Bot, ctx *ext.Context)
editAccount.go:18
Function
editAuthorURL
(b *gotgbot.Bot, ctx *ext.Context)
editAccount.go:13
Function
editPage
(b *gotgbot.Bot, ctx *ext.Context)
editPage.go:12
Function
editShortName
(b *gotgbot.Bot, ctx *ext.Context)
editAccount.go:8
Function
getAccount
(b *gotgbot.Bot, ctx *ext.Context)
getAccount.go:11
Function
getViews
(b *gotgbot.Bot, ctx *ext.Context)
getViews.go:11
Function
guide
(b *gotgbot.Bot, ctx *ext.Context)
basics.go:53
Function
help
(b *gotgbot.Bot, ctx *ext.Context)
basics.go:26
Function
helpCB
(b *gotgbot.Bot, ctx *ext.Context)
basics.go:185
Function
homeCB
------------------------- Callbacks ------------------------ //
basics.go:166
Function
html
(b *gotgbot.Bot, ctx *ext.Context)
basics.go:63
Function
listPages
(b *gotgbot.Bot, ctx *ext.Context)
listPages.go:11
Function
main
()
main.go:17
Function
newAccount
(b *gotgbot.Bot, ctx *ext.Context)
newAccount.go:11
Function
newPage
(b *gotgbot.Bot, ctx *ext.Context)
newPage.go:12
Function
pageUploadCB
(b *gotgbot.Bot, ctx *ext.Context)
tempStates.go:53
Function
preWorks
Change This As Per Convenience
preWorks.go:14
Function
removeAccount
(b *gotgbot.Bot, ctx *ext.Context)
removeAccount.go:10
Function
setTitle
(b *gotgbot.Bot, ctx *ext.Context)
title.go:14
Function
start
------------------- Basic Commands ------------------ //
basics.go:12
Function
stats
(b *gotgbot.Bot, ctx *ext.Context)
stats.go:12
Function
upload
(b *gotgbot.Bot, ctx *ext.Context)
upload.go:14