Documentation
¶
Index ¶
Constants ¶
View Source
const ( USER_NAME = "$WOTO_USER_NAME" BOT_USERNAME = "$WOTO_BOT_USERNAME" FIRST_NAME = "$WOTO_FIRST_NAME" USER_NAME_MENTION = "$WOTO_USERNAME_MENTION" FIRST_NAME_MENTION = "$WOTO_FIRSTNAME_MENTION" )
View Source
const ( PV_WARN_M01 = `Dear ` + FIRST_NAME_MENTION + `, before I message you, please send me a message!` PV_WARN_M02 = `Hello! ` + FIRST_NAME_MENTION + `, I can't send you any message, ` + `unless you send me a message!` SEND_MESSAGE_M01 = `🔙Send me a message >.<` SEND_MESSAGE_M02 = `🔙PM me right now ^.^` BOT_START_M01 = `https://t.me/` + BOT_USERNAME )
Variables ¶
This section is empty.
Functions ¶
func ReplaceDyn ¶
ReplaceDynBot will replace the message info with `msg` parameter dynamically. please ensure that `value` is not nil! no need to use wotoMd.GetNormal(), we will do it in this function.
func ReplaceDynBot ¶
ReplaceDynBot will replace the bot info with `api` dynamically. please ensure that `v` is not nil! no need to use wotoMd.GetNormal(), we will do it in this function.
func ReplaceFirstNameMention ¶
ReplaceFirstNameMention will replace the firstname dynamically, using `firstname` value in `*v`. please ensure that `v` is not nil! no need to use wotoMd.GetNormal(), we will do it in this function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.