Search in sources :

Example 1 with RequestSpam

use of com.fanap.podchat.requestobject.RequestSpam in project pod-chat-android-sdk by FanapSoft.

the class ChatActivity method spamThread.

private void spamThread() {
    RequestSpam requestSpam = new RequestSpam.Builder().threadId(TEST_THREAD_ID).build();
    presenter.spam(requestSpam);
}
Also used : GsonBuilder(com.google.gson.GsonBuilder) RequestSpam(com.fanap.podchat.requestobject.RequestSpam)

Example 2 with RequestSpam

use of com.fanap.podchat.requestobject.RequestSpam in project pod-chat-android-sdk by FanapSoft.

the class ChatPresenter method spam.

@Override
public void spam(long threadId) {
    RequestSpam requestSpam = new RequestSpam.Builder().threadId(threadId).build();
    chat.spam(requestSpam);
}
Also used : RequestSpam(com.fanap.podchat.requestobject.RequestSpam)

Aggregations

RequestSpam (com.fanap.podchat.requestobject.RequestSpam)2 GsonBuilder (com.google.gson.GsonBuilder)1