Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

boards2/v1 package

Overview

Boards2 is a social discussion forum for open communication and community-driven conversations.

Users can start discussions by creating or reposting threads and then submitting comments or replies to other user comments.

Discussions happen within different boards, where each board is an independent self managed community.

Boards2 allows users to create two types of boards: - Invite Only: Only invited users (members) can create threads, reposts and comments. - Open: Anyone with a specific amount of GNOT in their account can create threads, reposts and comments.

Function

GetReposts

func GetReposts(boardID, threadID uint64, start, count int) []Thread

GetReposts returns a list with repost of a board thread. To reverse iterate use a negative count. A repost is not included when its destination thread has been deleted, so the total accessible results can be shorter than the thread's RepostCount(), and a single call can return fewer than count results. (The reason for the discrepancy is that the start index can be large, and this function cannot scan all reposts up to the start index to resolve the discrepancy.)

Params

Command

gnokey query vm/qeval -remote "https://rpc.sapphire.testnets.gno.land" -data "gno.land/r/gnoland/boards2/v1.GetReposts(,,,)"

Result