Website openantrag.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
OpenAntrag/OpenAntragLib/Manager/PushbulletMessage.vb

33 lines
780 B

Imports System.Collections.Specialized
Public Class PushbulletMessage
Public Params As NameValueCollection
Public Sub New(strTitle As String,
strBody As String)
Params = New NameValueCollection
Params.Add("type", "note")
Params.Add("title", strTitle)
Params.Add("body", strBody)
Params.Add("channel_tag", "openantrag")
End Sub
Public Sub New(strTitle As String,
strBody As String,
strUrl As String)
Params = New NameValueCollection
Params.Add("type", "link")
Params.Add("url", strUrl)
Params.Add("title", strTitle)
Params.Add("body", strBody)
Params.Add("channel_tag", "openantrag")
End Sub
End Class