Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1013094 // postToChatNamed

JavaX fragment (include)

static void postToChatNamed(S chatName, S text) {
  if (empty(chatName)) ret;
  if (eqic(chatName, "Stefan's Chat"))
    postToStefansChat(text);
  else if (eqic(chatName, "Smart Bot's Chat"))
    postToSmartBotsChat(text);
  else
    warn("Unknown chat name: " + chatName);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013094
Snippet name: postToChatNamed
Eternal ID of this version: #1013094/2
Text MD5: e1df4ad9d53c570500990b8d8c3344fc
Author: stefan
Category: javax / chat
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-25 05:53:09
Source code size: 284 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 342 / 371
Version history: 1 change(s)
Referenced in: [show references]