Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
772 B · 28 lines
Go
1234567891011121314151617181920212223242526272829// Code generated by glex; DO NOT EDIT.
// Lexicon schema: app.bsky.actor.getProfile
package appbsky
import ( "context"
glex "github.com/streamplace/glex/runtime")
// ActorGetProfile calls the XRPC method "app.bsky.actor.getProfile".//// Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.//// actor: Handle or DID of account to fetch profile of.func ActorGetProfile(ctx context.Context, c glex.LexClient, actor string) (*ActorDefs_ProfileViewDetailed, error) { var out ActorDefs_ProfileViewDetailed
params := map[string]interface{}{} params["actor"] = actor
if err := c.LexDo(ctx, glex.Query, "", "app.bsky.actor.getProfile", params, nil, &out); err != nil { return nil, err } return &out, nil}