fediverse_pasture.types
          ApplicationAdapterForActor
  
  
      dataclass
  
  Basic type that is used to describe how to interact with an external application. actor_uri represents the actor a message will be sent to.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
actor_uri | 
          
                str
           | 
          
             The actor uri  | 
          required | 
application_name | 
          
                str
           | 
          
             The name the application will be displayed as  | 
          required | 
Source code in fediverse_pasture/types.py
              
          ApplicationAdapterForLastActivity
  
  
      dataclass
  
  Basic type that is used to describe how to interact with an external application. actor_uri represents the actor a message will be sent to. fetch_activity is used to fetch this activity.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
actor_uri | 
          
                str
           | 
          
             The actor uri  | 
          required | 
application_name | 
          
                str
           | 
          
             The name the application will be displayed as  | 
          required | 
fetch_activity | 
          
                Callable[[datetime], Awaitable[dict | None]]
           | 
          
             coroutine that retrieves the activity with a specified published date.  | 
          required | 
Source code in fediverse_pasture/types.py
              
          Message
  
  
      dataclass
  
  Class to track messages
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
steps | 
          
                List[str]
           | 
          
             a log of strings  | 
          
                field(default_factory=list)
           | 
        
Source code in fediverse_pasture/types.py
              
          response
  
  
      property
  
  Returns a dictionary with a single key “steps” containing the steps