Big Updated, added some tests, added comments for all functions, I forgot the rest

This commit is contained in:
Alois 2026-03-15 14:52:09 +01:00
commit 90a1059cc8
59 changed files with 1816 additions and 203 deletions

View file

@ -2,6 +2,14 @@ import type { BoundSendFn } from "@tensamin/ttp/core";
import type { Socket } from "@tensamin/shared/data";
import type { RawMessages } from "../values";
/**
* Executes getMessages.
* @param send Parameter send.
* @param amount Parameter amount.
* @param offset Parameter offset.
* @param user_id Parameter user_id.
* @returns Promise<RawMessages>.
*/
export async function getMessages(
send: BoundSendFn<Socket>,
amount: number,