getFileEmail4 file matches
A helper function to build a file's email
tuna8 file matches
Simple functional CSS library for Val Town
AutomationFunction1 file match
trmnl_plugins2 file matches
Backend functions for TRMNL plugins
You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=function&page=1&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=function
Returns an array of strings in format "username" or "username/projectName"
Found 18181 results for "function"(645ms)
8// import { getActiveUsers, getBlockedUsers, getUserInfo } from "./users.tsx";
910export default async function processOwnerCommand(message) {
11const text = message.text || "";
12139* Reply to a specific user
140*/
141async function replyToUser(userId, text) {
142// Send the message to the user
143const success = await sendTelegramMessage(userId, text);
169* Native reply to a specific user using Telegram's reply mechanism
170*/
171async function nativeReplyToUser(userId, originalMessage, text) {
172try {
173// Send the message as a reply to the original message
1// ============================================================
2// CORE FUNCTIONALITY
3// ============================================================
411* Expose this as an HTTP endpoint in Val.town
12*/
13export default async function handleTelegramWebhook(req) {
14try {
15// Ensure the request is a POST request